aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/ticket54/test.vhdl
blob: 7254942b0a727af5dc13653c5ab42759cdfe44c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
entity test is
end entity;

architecture a of test is
  procedure check(value : boolean) is
  begin
    assert value;
  end procedure;
begin

  main : process
    procedure do_some_other_stuff is
    begin
      check(false);
    end procedure;

    procedure do_stuff is
    begin
      check(true);
      do_some_other_stuff;
      check(true);
    end procedure;
  begin
    check(true);
    do_stuff;
    wait;
  end process;
end architecture;