PR target/84336
[official-gcc.git] / gcc / testsuite / gnat.dg / oconst3.adb
blobc9a94d4f491f63a709feccaa1037a60ed66708ff
1 -- { dg-do compile }
2 -- { dg-final { scan-assembler-not "elabs" } }
4 package body OCONST3 is
6 procedure check (arg : R) is
7 begin
8 if arg.u /= 1
9 or else arg.f /= one
10 or else arg.b.i1 /= 3
11 then
12 raise Program_Error;
13 end if;
14 end;
16 end;