OSDN Git Service

* c-decl.c (grokfield): Allow typedefs for anonymous structs and
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gnat.dg / oconst1.adb
1 -- { dg-do compile }
2 -- { dg-final { scan-assembler-not "elabs" } }
3
4 package body OCONST1 is
5
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;
16
17 end;
18