aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/bug0100/noconst.vhdl8
-rwxr-xr-xtestsuite/gna/bug0100/testsuite.sh1
2 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/noconst.vhdl b/testsuite/gna/bug0100/noconst.vhdl
new file mode 100644
index 000000000..78284d16e
--- /dev/null
+++ b/testsuite/gna/bug0100/noconst.vhdl
@@ -0,0 +1,8 @@
+entity noconst is
+end noconst;
+
+architecture arch of noconst is
+ type map_type is array(bit) of character;
+ constant smap : map_type := "";
+begin
+end;
diff --git a/testsuite/gna/bug0100/testsuite.sh b/testsuite/gna/bug0100/testsuite.sh
index c557161a3..1eb613911 100755
--- a/testsuite/gna/bug0100/testsuite.sh
+++ b/testsuite/gna/bug0100/testsuite.sh
@@ -24,6 +24,7 @@ analyze_failure --force-analysis attr.vhdl
analyze_failure --force-analysis attr2.vhdl
analyze_failure paren.vhdl
analyze_failure --force-analysis attr3.vhdl
+analyze_failure --force-analysis noconst.vhdl
if analyze_failure --force-analysis notype1.vhdl 2>&1 | grep -q "indexed name"; then
: