compiler: give error for non-int arguments to make
[official-gcc.git] / gcc / testsuite / gnat.dg / constant2.adb
blob41c7e9140360b9e304a33c6a7ede8f0ab1c0c033
1 -- { dg-do run }
2 -- { dg-options "-gnatVa" }
4 with Constant2_Pkg1; use Constant2_Pkg1;
6 procedure Constant2 is
7 begin
8 if Val then
9 raise Program_Error;
10 end if;
11 end;