aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/valid4.adb
blob: b64c526977688ec779a3d8907d0867d6c7f44655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--  { dg-do run }
--  { dg-options "-gnatVa" }

with Valid4_Pkg; use Valid4_Pkg;

procedure Valid4 is
begin
   Proc (Global);

   if Global then
      raise Program_Error;
   end if;
end Valid4;