* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git] / gcc / testsuite / gnat.dg / oconst1.adb
blob1e97ad8f2eb8a7d86b9c0700f14f38ed5d9b47da
1 -- { dg-do compile }
2 -- { dg-final { scan-assembler-not "elabs" } }
4 package body OCONST1 is
6 procedure check (arg : R) is
7 begin
8 if arg.u /= 1
9 or else arg.b.i1 /= 2
10 or else arg.b.i2 /= 3
11 or else arg.b.i3 /= 4
12 then
13 raise Program_Error;
14 end if;
15 end;
17 end;