forked from OSchip/llvm-project
Test handling of records for which the fields are
not ordered by offset. llvm-svn: 45520
This commit is contained in:
parent
d0e1f10078
commit
1d03fb4e7e
|
@ -0,0 +1,7 @@
|
|||
-- RUN: %llvmgcc -c %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;
|
Loading…
Reference in New Issue