summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug017/if2.vhdl
blob: 7c25c81319738681ab3b9445ed902553a721d1ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
entity if2 is
end;

architecture behav of if2 is
begin
  process
    variable i : natural := 0;
  begin
    report "hello";
    loop
      if i = 10 then
        exit;
      else
        report "hello2";
        wait for 1 ns;
      end if;
      i := i + 1;
    end loop;
    report "SUCCESS";
    wait;
  end process;
 
end behav;