diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-05-02 09:44:36 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-05-02 09:44:36 +0200 |
commit | 101d88efa3b5fa6ec5b1e647cdf49650ebb606f1 (patch) | |
tree | 58651898be00ebdf170cfa0523ac79de13bb80e9 /testsuite/gna/issue1274/repro2.vhdl | |
parent | db7ef6818edba6f7210e2fd6761333cd1131b25e (diff) | |
download | ghdl-101d88efa3b5fa6ec5b1e647cdf49650ebb606f1.tar.gz ghdl-101d88efa3b5fa6ec5b1e647cdf49650ebb606f1.tar.bz2 ghdl-101d88efa3b5fa6ec5b1e647cdf49650ebb606f1.zip |
testsuite/gna: add tests for #1274
Diffstat (limited to 'testsuite/gna/issue1274/repro2.vhdl')
-rw-r--r-- | testsuite/gna/issue1274/repro2.vhdl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/issue1274/repro2.vhdl b/testsuite/gna/issue1274/repro2.vhdl new file mode 100644 index 000000000..d3b1655cf --- /dev/null +++ b/testsuite/gna/issue1274/repro2.vhdl @@ -0,0 +1,16 @@ +library ieee; +use ieee.std_logic_1164.all; +use ieee.numeric_std.all; + +entity repro2 is +end ; + +architecture beh of repro2 is +begin + process + variable foo, bar : std_logic; + begin + (foo, bar) := "10" + "01"; -- crashes + wait; + end process; +end architecture; |