diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-04-27 18:25:00 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-04-27 18:25:00 +0200 |
commit | 4452ba67a7fc11356ebd68390fb4adc750187daa (patch) | |
tree | ed1f13872536ae757d3e8acbd34141d4b3a74226 /testsuite/gna/bug0100 | |
parent | d0fc91e9505fe30ef138250f7d9e241dace9c323 (diff) | |
download | ghdl-4452ba67a7fc11356ebd68390fb4adc750187daa.tar.gz ghdl-4452ba67a7fc11356ebd68390fb4adc750187daa.tar.bz2 ghdl-4452ba67a7fc11356ebd68390fb4adc750187daa.zip |
testsuite/gna: add a test for the previous commit.
Diffstat (limited to 'testsuite/gna/bug0100')
-rw-r--r-- | testsuite/gna/bug0100/badrng.vhdl | 3 | ||||
-rwxr-xr-x | testsuite/gna/bug0100/testsuite.sh | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/badrng.vhdl b/testsuite/gna/bug0100/badrng.vhdl new file mode 100644 index 000000000..1362744d0 --- /dev/null +++ b/testsuite/gna/bug0100/badrng.vhdl @@ -0,0 +1,3 @@ +package badrng is + signal Sht : bit_vector(2 downtonatural range 0 to 7; +end badrng; diff --git a/testsuite/gna/bug0100/testsuite.sh b/testsuite/gna/bug0100/testsuite.sh index 9fa07d4bc..8c49a6073 100755 --- a/testsuite/gna/bug0100/testsuite.sh +++ b/testsuite/gna/bug0100/testsuite.sh @@ -19,6 +19,7 @@ analyze_failure emptyquote.vhdl analyze_failure qual.vhdl analyze_failure proctarg.vhdl analyze_failure libparen.vhdl +analyze_failure --force-analysis badrng.vhdl if analyze_failure --force-analysis notype1.vhdl 2>&1 | grep -q "indexed name"; then : |