diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-04-23 18:27:18 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-04-23 18:27:18 +0200 |
commit | 1339a25239a43170dc5a213b2693a33c5a0c996d (patch) | |
tree | 840d8470acf3f343f126f2971b1d48b37008ac0e /testsuite/gna/bug0100 | |
parent | b04a52567c5bb706afd2197898dc9cbf56fc99a4 (diff) | |
download | ghdl-1339a25239a43170dc5a213b2693a33c5a0c996d.tar.gz ghdl-1339a25239a43170dc5a213b2693a33c5a0c996d.tar.bz2 ghdl-1339a25239a43170dc5a213b2693a33c5a0c996d.zip |
testsuite/gna: add a test for the previous commit.
Diffstat (limited to 'testsuite/gna/bug0100')
-rw-r--r-- | testsuite/gna/bug0100/libparen.vhdl | 7 | ||||
-rwxr-xr-x | testsuite/gna/bug0100/testsuite.sh | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/libparen.vhdl b/testsuite/gna/bug0100/libparen.vhdl new file mode 100644 index 000000000..357ef6b77 --- /dev/null +++ b/testsuite/gna/bug0100/libparen.vhdl @@ -0,0 +1,7 @@ +entity libparen is +end libparen; + +architecture behav of libparen is + constant c : boolean := work(5); +begin +end behav; diff --git a/testsuite/gna/bug0100/testsuite.sh b/testsuite/gna/bug0100/testsuite.sh index e4deb379a..9fa07d4bc 100755 --- a/testsuite/gna/bug0100/testsuite.sh +++ b/testsuite/gna/bug0100/testsuite.sh @@ -18,6 +18,7 @@ analyze_failure forloop.vhdl analyze_failure emptyquote.vhdl analyze_failure qual.vhdl analyze_failure proctarg.vhdl +analyze_failure libparen.vhdl if analyze_failure --force-analysis notype1.vhdl 2>&1 | grep -q "indexed name"; then : |