c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / gnat.dg / inline5.adb
blob5d9bed7e6f833ba7bfb54ee602c25f4b3d752740
1 -- { dg-do compile }
2 -- { dg-options "-O -gnatn -Winline" }
3 -- { dg-warning "not marked 'Inline'" "" { target *-*-* } 0 }
4 -- { dg-warning "cannot be inlined" "" { target *-*-* } 0 }
6 with Inline5_Pkg; use Inline5_Pkg;
8 procedure Inline5 is
9 begin
10 Test (0);
11 end;