summaryrefslogtreecommitdiff
path: root/test/Import/pack-expansion-expr/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Import/pack-expansion-expr/test.cpp')
-rw-r--r--test/Import/pack-expansion-expr/test.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Import/pack-expansion-expr/test.cpp b/test/Import/pack-expansion-expr/test.cpp
new file mode 100644
index 0000000000000..3e9867b1a736e
--- /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: '<dependent type>'
+// CHECK-NEXT: DeclRefExpr
+// CHECK-SAME: 'T...'
+// CHECK-SAME: ParmVar
+// CHECK-SAME: 'a'
+
+void expr() {
+ f();
+}