aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1419/repro3.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-08-04 10:09:07 +0200
committerTristan Gingold <tgingold@free.fr>2021-08-04 10:11:15 +0200
commit71cb4d15e7340f9dfb900c08acd3df185acd54ec (patch)
tree4cadff04a15a3885ec96d1c622036ea9d64e3c16 /testsuite/gna/issue1419/repro3.vhdl
parent2c5960c36dce34514bbbbdadefd543331a851144 (diff)
downloadghdl-71cb4d15e7340f9dfb900c08acd3df185acd54ec.tar.gz
ghdl-71cb4d15e7340f9dfb900c08acd3df185acd54ec.tar.bz2
ghdl-71cb4d15e7340f9dfb900c08acd3df185acd54ec.zip
testsuite/gna: add a test for previous commit
Diffstat (limited to 'testsuite/gna/issue1419/repro3.vhdl')
-rw-r--r--testsuite/gna/issue1419/repro3.vhdl12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/issue1419/repro3.vhdl b/testsuite/gna/issue1419/repro3.vhdl
new file mode 100644
index 000000000..80854a2ed
--- /dev/null
+++ b/testsuite/gna/issue1419/repro3.vhdl
@@ -0,0 +1,12 @@
+entity repro3 is
+end;
+
+architecture behav of repro3 is
+ type t_record is record
+ str : string;
+ num : positive;
+ end record;
+
+ constant k : t_record := ("abc", 0); -- BOUND error
+begin
+end;