Preserving locations for variable-uses and constants (PR c++/43486)
[official-gcc.git] / gcc / testsuite / gnat.dg / opt13.adb
blob9e47957e9e125b8b805052bbc294f64cc3698f44
1 -- { dg-do run }
2 -- { dg-options "-O" }
4 with Opt13_Pkg; use Opt13_Pkg;
6 procedure Opt13 is
7 T : My_Type;
8 begin
9 Allocate (T);
10 if N /= 1 then
11 raise Program_Error;
12 end if;
13 end;