From c43f0a9519038e85fa8706f15bd2243e77ad7fca Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 7 Oct 2020 18:25:59 +0200 Subject: testsuite/gna: add a test for previous commit. --- testsuite/gna/bug0100/attr.vhdl | 7 +++++++ testsuite/gna/bug0100/testsuite.sh | 1 + 2 files changed, 8 insertions(+) create mode 100644 testsuite/gna/bug0100/attr.vhdl (limited to 'testsuite/gna/bug0100') 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 : -- cgit v1.2.3