c++: constrained lambda error-recovery [PR108972]
[official-gcc.git] / gcc / testsuite / gnat.dg / warn31.ads
blob5311079a69e18e90f4e926db0fb3ba0e4083c1e0
1 pragma Restrictions (No_Exception_Propagation);
3 package Warn31 is
5 type U16 is mod 2 ** 16;
6 type U32 is mod 2 ** 32;
8 type Pair is record
9 X, Y : U16;
10 end record;
11 for Pair'Alignment use U32'Alignment;
13 Blob : array (1 .. 2) of Pair;
15 Sum : array (1 .. 2) of U32;
16 for Sum'Address use Blob'Address;
18 procedure Dummy;
20 end Warn31;