llvm-for-llvmta/tools/clang/test/Import/pack-expansion-expr/test.cpp

14 lines
287 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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();
}