mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-20 21:14:28 +00:00
Test handling of records for which the fields are
not ordered by offset. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45520 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fabfde3ff0
commit
c51daccb7e
7
test/FrontendAda/field_order.ads
Normal file
7
test/FrontendAda/field_order.ads
Normal file
@ -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…
x
Reference in New Issue
Block a user