mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 14:36:34 +00:00
8a7547d26f
since they didn't actually need to be bitfields, though they are marked as such). llvm-svn: 45588
13 lines
279 B
Ada
13 lines
279 B
Ada
-- RUN: %llvmgcc -c %s
|
|
package Non_Bitfield is
|
|
type SP is access String;
|
|
type E is (A, B, C);
|
|
type T (D : E) is record
|
|
case D is
|
|
when A => X : Boolean;
|
|
when B => Y : SP;
|
|
when C => Z : String (1 .. 2);
|
|
end case;
|
|
end record;
|
|
end;
|