mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-22 04:55:50 -04:00

This moves everything primarily testing the functionality of -ast-dump and -ast-print into their own directory, rather than leaving the tests spread around the testing directory. llvm-svn: 348017
22 lines
381 B
Plaintext
22 lines
381 B
Plaintext
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -std=c++11 -ast-dump %s | FileCheck %s
|
|
// CHECK: CXXCtorInitializer Field {{.*}} 'ptr' 'void *'
|
|
// CHECK: CXXCtorInitializer Field {{.*}} 'q' 'Q'
|
|
|
|
@interface NSObject
|
|
@end
|
|
|
|
@interface I : NSObject
|
|
@end
|
|
|
|
struct Q { Q(); };
|
|
|
|
struct S {
|
|
S();
|
|
void *ptr = nullptr;
|
|
Q q;
|
|
};
|
|
|
|
@implementation I
|
|
S::S() {}
|
|
@end
|