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