diff options
Diffstat (limited to 'testsuite/gna/issue262/repro.vhdl')
-rw-r--r-- | testsuite/gna/issue262/repro.vhdl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/issue262/repro.vhdl b/testsuite/gna/issue262/repro.vhdl new file mode 100644 index 000000000..bb4dd2965 --- /dev/null +++ b/testsuite/gna/issue262/repro.vhdl @@ -0,0 +1,16 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity repro is +end; + +architecture behav of repro is +begin + process + variable result : std_ulogic; + begin + result := std_ulogic_vector'("-000") ?/= std_ulogic_vector'("0000"); + result := std_ulogic_vector'("-000") ?= std_ulogic_vector'("0000"); + wait; + end process; +end behav; |