repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[flang][cuda] Adapt ExternalNameConversion to work in gpu module (#117039)
[llvm-project.git]
/
clang
/
test
/
AST
/
objc-default-ctor-init.mm
blob
a01dcd790b9a7f179ffc52a1d6bd87be14efaf78
1
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -std=c++11 -ast-dump %s | FileCheck %s
2
// CHECK: CXXCtorInitializer Field {{.*}} 'ptr' 'void *'
3
// CHECK: CXXCtorInitializer Field {{.*}} 'q' 'Q'
4
5
@interface NSObject
6
@end
7
8
@interface I : NSObject
9
@end
10
11
struct Q { Q(); };
12
13
struct S {
14
S();
15
void *ptr = nullptr;
16
Q q;
17
};
18
19
@implementation I
20
S::S() {}
21
@end