1 // RUN: %clang_cc1 -E %s -o %t.mm 2 // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s 3 // rdar://13138459 4 5 @interface Foo { 6 @private 7 int first; 8 int :1; 9 int third :1; 10 int :1; 11 int fifth :1; 12 } 13 @end 14 @implementation Foo 15 @end 16 17 // CHECK: struct Foo__T_1 { 18 // CHECK-NEXT: int : 1; 19 // CHECK-NEXT: int third : 1; 20 // CHECK-NEXT: int : 1; 21 // CHECK-NEXT: int fifth : 1; 22 // CHECK-NEXT: char : 0; 23 // CHECK-NEXT: } ; 24 // CHECK: struct Foo_IMPL { 25 // CHECK-NEXT: int first; 26 // CHECK-NEXT: struct Foo__T_1 Foo__GRBF_1; 27 // CHECK-NEXT: }; 28