llvm-project/clang/test/Import/pack-expansion-expr/test.cpp

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();
}