You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
540 B
23 lines
540 B
4 months ago
|
// RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s
|
||
|
// CHECK: CXXCtorInitializer
|
||
|
// CHECK-SAME: 'int_member'
|
||
|
// CHECK-SAME: 'int'
|
||
|
// CHECK-NEXT: CXXDefaultInitExpr
|
||
|
// CHECK-SAME: 'int'
|
||
|
|
||
|
// CHECK-NEXT: CXXCtorInitializer
|
||
|
// CHECK-SAME: 'float_member'
|
||
|
// CHECK-SAME: 'float'
|
||
|
// CHECK-NEXT: CXXDefaultInitExpr
|
||
|
// CHECK-SAME: 'float'
|
||
|
|
||
|
// CHECK-NEXT: CXXCtorInitializer
|
||
|
// CHECK-SAME: 'class_member'
|
||
|
// CHECK-SAME: 'Foo'
|
||
|
// CHECK-NEXT: CXXDefaultInitExpr
|
||
|
// CHECK-SAME: 'Foo'
|
||
|
|
||
|
void expr() {
|
||
|
struct S s;
|
||
|
}
|