Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gnat.dg / aggr15.adb
blobe69e9d346e10ad21ba817e53cd338370f1d0c75e
1 -- { dg-do compile }
2 -- { dg-options "-gnatws" }
4 package body Aggr15 is
6 function CREATE return DATA_T is
7 D : DATA_T;
8 begin
9 return D;
10 end;
12 function ALL_CREATE return ALL_DATA_T is
13 C : constant ALL_DATA_T := (others => (others => Create));
14 begin
15 return C;
16 end;
18 end Aggr15;