aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug0100/noconst.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-05-22 07:54:33 +0200
committerTristan Gingold <tgingold@free.fr>2021-05-22 07:54:33 +0200
commit6baa2e235e18c7a8e83b5d973e4dbf7ff8ba16d9 (patch)
tree771ecb0a8e924706a232766186ddbbbc1e3143ce /testsuite/gna/bug0100/noconst.vhdl
parenta67152819639dd4cc4b6beaaba6ce50a62ef3332 (diff)
downloadghdl-6baa2e235e18c7a8e83b5d973e4dbf7ff8ba16d9.tar.gz
ghdl-6baa2e235e18c7a8e83b5d973e4dbf7ff8ba16d9.tar.bz2
ghdl-6baa2e235e18c7a8e83b5d973e4dbf7ff8ba16d9.zip
testsuite/gna: add a test for previous commit
Diffstat (limited to 'testsuite/gna/bug0100/noconst.vhdl')
-rw-r--r--testsuite/gna/bug0100/noconst.vhdl8
1 files changed, 8 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;