2 -- { dg-require-effective-target strub }
5 procedure Strub_Var1
is
6 type TA
-- { dg-warning "does not apply to elements" }
7 is array (1..2) of Integer;
8 pragma Machine_Attribute
(TA
, "strub");
10 A
: TA
:= (0, 0); -- { dg-warning "does not apply to elements" }
12 type TR
is record -- { dg-warning "does not apply to fields" }
15 pragma Machine_Attribute
(TR
, "strub");
20 A
(2) := Strub_Attr
.F
(A
(1));