diff options
Diffstat (limited to 'testsuite/gna/issue461/repro1.vhdl')
-rw-r--r-- | testsuite/gna/issue461/repro1.vhdl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue461/repro1.vhdl b/testsuite/gna/issue461/repro1.vhdl new file mode 100644 index 000000000..20131f019 --- /dev/null +++ b/testsuite/gna/issue461/repro1.vhdl @@ -0,0 +1,14 @@ +entity repro is +end repro; + +architecture behaviour of repro is + signal selector : bit_vector(1 downto 0) := "10"; + signal result : bit_vector(7 downto 0); + + signal op_1 : bit_vector(7 downto 0); + signal op_2 : bit_vector(7 downto 0); +begin + with selector select + result <= op_1 and op_2 when "00", + (others => '0') when others; +end behaviour; |