llvm-for-llvmta/tools/clang/test/Import/cxx-scalar-value-init/test.cpp

12 lines
252 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s
// CHECK: CXXScalarValueInitExpr
// CHECK-SAME: 'int'
// CHECK: CXXScalarValueInitExpr
// CHECK-SAME: 'float'
void expr() {
int i = si();
float f = sf();
}