brintos

brintos / llvm-project-archived public Read only

0
0
Text · 632 B · fa1e4a8 Raw
27 lines · plain
1// RUN: %clang_cc1 -E %s -o %t.mm2// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %t.mm -o - | FileCheck %s 3 4@interface Foo {5@private6    int first;7    int :1;8    int third :1;9    int :1;10    int fifth :1;11}12@end13@implementation Foo 14@end15 16// CHECK: struct Foo__T_1 {17// CHECK-NEXT:         int : 1;18// CHECK-NEXT:         int third : 1;19// CHECK-NEXT:         int : 1;20// CHECK-NEXT:         int fifth : 1;21// CHECK-NEXT:         char : 0;22// CHECK-NEXT:         } ;23// CHECK: struct Foo_IMPL {24// CHECK-NEXT:         int first;25// CHECK-NEXT:         struct Foo__T_1 Foo__GRBF_1;26// CHECK-NEXT: };27