From 676fbe8105eeb6ff4bb2ed261cb212fcfdbe7b63 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 19 Jan 2019 10:04:05 +0000 Subject: Vendor import of clang trunk r351319 (just before the release_80 branch point): https://llvm.org/svn/llvm-project/cfe/trunk@351319 --- test/Import/pack-expansion-expr/test.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/Import/pack-expansion-expr/test.cpp (limited to 'test/Import/pack-expansion-expr/test.cpp') diff --git a/test/Import/pack-expansion-expr/test.cpp b/test/Import/pack-expansion-expr/test.cpp new file mode 100644 index 000000000000..3e9867b1a736 --- /dev/null +++ b/test/Import/pack-expansion-expr/test.cpp @@ -0,0 +1,12 @@ +// RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s + +// CHECK: PackExpansionExpr +// CHECK-SAME: '' +// CHECK-NEXT: DeclRefExpr +// CHECK-SAME: 'T...' +// CHECK-SAME: ParmVar +// CHECK-SAME: 'a' + +void expr() { + f(); +} -- cgit v1.3