aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue9/repro2.vhdl
blob: 3ca8424ac0f470bb5fa5211bb2318fd08ba6a831 (plain)
1
2
3
4
5
6
7
8
9
entity tmp is end entity;
architecture arch of tmp is
    subtype nat2 is natural range 0 to 3;
    signal b : bit;
begin
    with 2 select b <=
     '0' when 0 to 2,
     '1' when 2 to 3;
end architecture;