mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
new testcase distilled from 177.mesa
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
559a6c136d
commit
c3a3d04b49
16
test/CFrontend/2003-09-30-StructLayout.c
Normal file
16
test/CFrontend/2003-09-30-StructLayout.c
Normal file
@ -0,0 +1,16 @@
|
||||
enum En {
|
||||
ENUM_VAL
|
||||
};
|
||||
|
||||
struct St {
|
||||
unsigned char A;
|
||||
enum En B;
|
||||
unsigned char C;
|
||||
enum En D;
|
||||
float E;
|
||||
};
|
||||
|
||||
|
||||
void func(struct St* A) {
|
||||
A->D = ENUM_VAL;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user