mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Yet another bit-field bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8226 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
8
test/CFrontend/2003-08-29-StructLayoutBug.c
Normal file
8
test/CFrontend/2003-08-29-StructLayoutBug.c
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
struct foo {
|
||||||
|
unsigned int I:1;
|
||||||
|
unsigned char J[1];
|
||||||
|
unsigned int K:1;
|
||||||
|
};
|
||||||
|
|
||||||
|
void test(struct foo *X) {}
|
||||||
|
|
Reference in New Issue
Block a user