aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug017/if3.vhdl
blob: 0bc870800649fefb227de6e5e0510ce9793c7517 (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 if3 is
end;

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