diff options
Diffstat (limited to 'testsuite/gna/bug07/repro.vhdl')
-rw-r--r-- | testsuite/gna/bug07/repro.vhdl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/gna/bug07/repro.vhdl b/testsuite/gna/bug07/repro.vhdl new file mode 100644 index 0000000..89d6f29 --- /dev/null +++ b/testsuite/gna/bug07/repro.vhdl @@ -0,0 +1,21 @@ +entity repro is +end repro; + +architecture behav of repro is + type int_vector is array (natural range <>) of integer; + + constant c1 : int_vector (0 to 1) := 12 & 13; + constant c2 : int_vector (0 to 1) := 14 & 15; + constant p : boolean := c1 = c2; + constant p1 : boolean := c1 < c2; +begin + process + begin + case true is + when p => null; + when true => null; + end case; + wait; + end process; +end behav; + |