aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug0100
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug0100')
-rw-r--r--testsuite/gna/bug0100/libparen.vhdl7
-rwxr-xr-xtestsuite/gna/bug0100/testsuite.sh1
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
: