diff options
-rw-r--r-- | testsuite/gna/bug0100/qual.vhdl | 11 | ||||
-rwxr-xr-x | testsuite/gna/bug0100/testsuite.sh | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/qual.vhdl b/testsuite/gna/bug0100/qual.vhdl new file mode 100644 index 000000000..f7c0ba0b3 --- /dev/null +++ b/testsuite/gna/bug0100/qual.vhdl @@ -0,0 +1,11 @@ +entity qual is +end; + +architecture behav of qual is +begin + process + variable cnt : natural range 0 to 15; + begin + cnt := cnt'last'(others => '1'); + end process; +end behav; diff --git a/testsuite/gna/bug0100/testsuite.sh b/testsuite/gna/bug0100/testsuite.sh index fc50f76ad..b779aa7ea 100755 --- a/testsuite/gna/bug0100/testsuite.sh +++ b/testsuite/gna/bug0100/testsuite.sh @@ -15,6 +15,7 @@ analyze_failure --force-analysis emptyquote2.vhdl analyze_failure usrattr.vhdl analyze_failure forloop.vhdl analyze_failure emptyquote.vhdl +analyze_failure qual.vhdl if analyze_failure --force-analysis notype1.vhdl 2>&1 | grep -q "indexed name"; then : |