commit | c7ff82c2040f45eaad2eddea0e4461dddc972cd1 | [log] [tgz] |
---|---|---|
author | David Chisnall <csdavec@swan.ac.uk> | Sun Dec 26 20:12:30 2010 +0000 |
committer | David Chisnall <csdavec@swan.ac.uk> | Sun Dec 26 20:12:30 2010 +0000 |
tree | 310e54b9178d50b374f5dd10f39a2a7932355f54 | |
parent | 3f59c975aa5d047f7edd1b900b5e885c38af0ef7 [diff] |
Fix for PR8695. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122564 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenObjC/bitfield-gnu.m b/test/CodeGenObjC/bitfield-gnu.m new file mode 100644 index 0000000..7935bda --- /dev/null +++ b/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