llvm-for-llvmta/tools/clang/test/Import/pack-expansion-expr/test.cpp
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

14 lines
287 B
C++

// RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s
// CHECK: PackExpansionExpr
// CHECK-SAME: '<dependent type>'
// CHECK-NEXT: DeclRefExpr
// CHECK-SAME: 'T'
// CHECK-SAME: ParmVar
// CHECK-SAME: 'a'
// CHECK-SAME: 'T...'
void expr() {
f();
}