Debian Codegraph @

gcc/testsuite/gnat.dg/limited_with5.adb

raw
1 -- { dg-do compile }
2 -- { dg-options "-O -gnatn -Winline" }
3
4 package body Limited_With5 is
5 procedure Doit (Obj : Limited_With5_Pkg.T) is
6 begin
7 if Limited_With5_Pkg.Get_Expression_Support (Obj) > Sup_T'(100) then
8 raise Program_Error;
9 end if;
10 end Doit;
11 end Limited_With5;