diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-08-04 10:28:09 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-08-05 06:04:36 +0200 |
commit | 6f7e1ccde2eab638c15d7c651c23629af6f0f8b6 (patch) | |
tree | ad5ba9a5799aa79ce68beccd83ad68edf21d02d3 /testsuite/gna/issue1419/repro1.vhdl | |
parent | 8c5fdb98306e45ea1009e919d55623c87b61d03c (diff) | |
download | ghdl-6f7e1ccde2eab638c15d7c651c23629af6f0f8b6.tar.gz ghdl-6f7e1ccde2eab638c15d7c651c23629af6f0f8b6.tar.bz2 ghdl-6f7e1ccde2eab638c15d7c651c23629af6f0f8b6.zip |
testsuite/gna: add reproducer for #1419
Diffstat (limited to 'testsuite/gna/issue1419/repro1.vhdl')
-rw-r--r-- | testsuite/gna/issue1419/repro1.vhdl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/issue1419/repro1.vhdl b/testsuite/gna/issue1419/repro1.vhdl new file mode 100644 index 000000000..605d5b04b --- /dev/null +++ b/testsuite/gna/issue1419/repro1.vhdl @@ -0,0 +1,16 @@ +entity repro1 is +end; + +architecture behav of repro1 is + type t_record is + record + --srt : string (1 downto 1); -- works + srt : string; + num : positive; + end record; + + type t_record_array is array (natural range <>) of t_record; + + constant k : t_record_array := (("a", 1), ("b", 2)); +begin +end; |