From 23bd5955da7d80e56e4bc9d1f756d13a1753d6e7 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 12 Jun 2019 18:41:48 +0200 Subject: Add a testcase for previous commit. --- testsuite/gna/bug0100/notype2.vhdl | 8 ++++++++ testsuite/gna/bug0100/testsuite.sh | 1 + 2 files changed, 9 insertions(+) create mode 100644 testsuite/gna/bug0100/notype2.vhdl diff --git a/testsuite/gna/bug0100/notype2.vhdl b/testsuite/gna/bug0100/notype2.vhdl new file mode 100644 index 000000000..5763e435f --- /dev/null +++ b/testsuite/gna/bug0100/notype2.vhdl @@ -0,0 +1,8 @@ +entity notype2 is +end; + +architecture behav of notype2 is + signal s : out bit_vector(7 downto 0); +begin + s (1) <= '0'; +end behav; diff --git a/testsuite/gna/bug0100/testsuite.sh b/testsuite/gna/bug0100/testsuite.sh index 5f1ca87df..c0622ed86 100755 --- a/testsuite/gna/bug0100/testsuite.sh +++ b/testsuite/gna/bug0100/testsuite.sh @@ -4,6 +4,7 @@ analyze_failure --force-analysis inst1.vhdl analyze_failure --force-analysis notype1.vhdl +analyze_failure --force-analysis notype2.vhdl if analyze_failure --force-analysis notype1.vhdl 2>&1 | grep -q "indexed name"; then : -- cgit v1.2.3