mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 02:31:09 +00:00
Testcase with non-integer "bitfields" (in quotes,
since they didn't actually need to be bitfields, though they are marked as such). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45588 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6321460440
commit
ad04cb28c5
12
test/FrontendAda/non_bitfield.ads
Normal file
12
test/FrontendAda/non_bitfield.ads
Normal file
@ -0,0 +1,12 @@
|
||||
-- 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;
|
Loading…
x
Reference in New Issue
Block a user