runtime: allow preemption in fast syscall return
[official-gcc.git] / gcc / testsuite / gnat.dg / opt48_pkg1.adb
blob306551cea5f701c5cd76b8aec1abf99c08586825
1 package body Opt48_Pkg1 is
3 function G return Rec is
4 begin
5 return (32, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA");
6 end G;
8 X : Rec := F;
9 Y : Rec := G;
10 Z : Rec := F;
12 function Get_Z return Rec is
13 begin
14 return Z;
15 end;
17 end Opt48_Pkg1;