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