aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/bug0100/attr.vhdl7
-rwxr-xr-xtestsuite/gna/bug0100/testsuite.sh1
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/attr.vhdl b/testsuite/gna/bug0100/attr.vhdl
new file mode 100644
index 000000000..b6047e144
--- /dev/null
+++ b/testsuite/gna/bug0100/attr.vhdl
@@ -0,0 +1,7 @@
+entity attr is
+end attr;
+
+architecture behav of attr is
+ attribute my_attr : ;
+begin
+end behav;
diff --git a/testsuite/gna/bug0100/testsuite.sh b/testsuite/gna/bug0100/testsuite.sh
index 8c49a6073..fce617008 100755
--- a/testsuite/gna/bug0100/testsuite.sh
+++ b/testsuite/gna/bug0100/testsuite.sh
@@ -20,6 +20,7 @@ analyze_failure qual.vhdl
analyze_failure proctarg.vhdl
analyze_failure libparen.vhdl
analyze_failure --force-analysis badrng.vhdl
+analyze_failure --force-analysis attr.vhdl
if analyze_failure --force-analysis notype1.vhdl 2>&1 | grep -q "indexed name"; then
: