diff options
Diffstat (limited to 'test/CodeGen/bitfield-init.c')
-rw-r--r-- | test/CodeGen/bitfield-init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/bitfield-init.c b/test/CodeGen/bitfield-init.c new file mode 100644 index 0000000000..6e89e1185a --- /dev/null +++ b/test/CodeGen/bitfield-init.c @@ -0,0 +1,4 @@ +// RUN: clang %s -emit-llvm +typedef struct { unsigned int i: 1; } c; +const c d = { 1 }; + |