summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/tree_static_def.adb
blob: ed86747a8b156f62ef66e0e40a046d06b58c2e55 (plain)
1
2
3
4
5
6
7
8
9
10
11
package body TREE_STATIC_Def is

 procedure check (i : int; v : integer) is
 begin
    if i.value /= v then
      raise program_error;
    end if;
 end;
end;