diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-02-12 21:06:42 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-02-12 21:07:49 +0100 |
commit | 89c817660b426ef9603a264a2aaf6407d0da40e1 (patch) | |
tree | 4c2db8e25530bf08679a215ce826c87f886adc47 /testsuite/gna/issue238/repro1.vhdl | |
parent | 748a8a732b96a8940bb1461502d1f1eaec0e9576 (diff) | |
download | ghdl-89c817660b426ef9603a264a2aaf6407d0da40e1.tar.gz ghdl-89c817660b426ef9603a264a2aaf6407d0da40e1.tar.bz2 ghdl-89c817660b426ef9603a264a2aaf6407d0da40e1.zip |
Add testcases for #238
Diffstat (limited to 'testsuite/gna/issue238/repro1.vhdl')
-rw-r--r-- | testsuite/gna/issue238/repro1.vhdl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue238/repro1.vhdl b/testsuite/gna/issue238/repro1.vhdl new file mode 100644 index 000000000..5dcbf8e76 --- /dev/null +++ b/testsuite/gna/issue238/repro1.vhdl @@ -0,0 +1,15 @@ +ENTITY repro1 IS + TYPE foo_t IS RECORD + bar : bit_vector; + END RECORD foo_t; +END ENTITY repro1; + +ARCHITECTURE bar OF repro1 IS +BEGIN + process + variable baz : foo_t(bar(1 DOWNTO 0)); + begin + wait; + end process; + +END ARCHITECTURE bar; |