summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/bitfield-gnu.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/bitfield-gnu.m')
-rw-r--r--clang/test/CodeGenObjC/bitfield-gnu.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/bitfield-gnu.m b/clang/test/CodeGenObjC/bitfield-gnu.m
new file mode 100644
index 0000000..7935bda
--- /dev/null
+++ b/clang/test/CodeGenObjC/bitfield-gnu.m
@@ -0,0 +1,5 @@
+// RUN: %clang -S -emit-llvm -fgnu-runtime -o %t %s
+typedef enum { A1, A2 } A;
+typedef struct { A a : 1; } B;
+@interface Obj { B *b; } @end
+@implementation Obj @end