aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1274/repro2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1274/repro2.vhdl')
-rw-r--r--testsuite/gna/issue1274/repro2.vhdl16
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;