diff options
Diffstat (limited to 'testsuite/gna/issue472/test.vhdl')
-rw-r--r-- | testsuite/gna/issue472/test.vhdl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue472/test.vhdl b/testsuite/gna/issue472/test.vhdl new file mode 100644 index 000000000..9f196078b --- /dev/null +++ b/testsuite/gna/issue472/test.vhdl @@ -0,0 +1,14 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity test is + port ( + input : boolean + ); +end test; + +architecture behaviour of test is + signal foo : std_logic; +begin + foo <= "0" when input else "1"; -- Note: Should be '0' and '1' instead +end behaviour; |