brintos

brintos / llvm-project-archived public Read only

0
0
Text · 360 B · a01dcd7 Raw
22 lines · plain
1// RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -std=c++11 -ast-dump %s | FileCheck %s2// CHECK: CXXCtorInitializer Field {{.*}} 'ptr' 'void *'3// CHECK: CXXCtorInitializer Field {{.*}} 'q' 'Q'4 5@interface NSObject6@end7 8@interface I : NSObject9@end10 11struct Q { Q(); };12 13struct S {14  S();15  void *ptr = nullptr;16  Q q;17};18 19@implementation I20S::S() {}21@end22