c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / gnat.dg / strub_ind1.ads
blobd3f1273b3a6b95506a27b39051fefbd5cdc6b5c2
1 package Strub_Ind1 is
2 procedure P (X : Integer);
3 pragma Machine_Attribute (P, "strub", "internal");
5 function F (X : Integer) return Integer;
6 pragma Machine_Attribute (F, "strub");
8 X : aliased Integer := 0;
9 pragma Machine_Attribute (X, "strub");
11 type FT is access function (X : Integer) return Integer;
12 pragma Machine_Attribute (FT, "strub", "at-calls");
14 FP : FT := F'Access;
15 pragma Machine_Attribute (FP, "strub", "at-calls");
17 end Strub_Ind1;