llvm/test/FrontendAda/field_order.ads
2010-11-25 21:21:59 +00:00

8 lines
217 B
Ada

-- RUN: %llvmgcc -S %s
package Field_Order is
type Tagged_Type is abstract tagged null record;
type With_Discriminant (L : Positive) is new Tagged_Type with record
S : String (1 .. L);
end record;
end;