summaryrefslogtreecommitdiffstats
path: root/test/SemaTemplate/variadic-parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/variadic-parse.cpp')
-rw-r--r--test/SemaTemplate/variadic-parse.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/SemaTemplate/variadic-parse.cpp b/test/SemaTemplate/variadic-parse.cpp
new file mode 100644
index 0000000..e1d1b1f
--- /dev/null
+++ b/test/SemaTemplate/variadic-parse.cpp
@@ -0,0 +1,6 @@
+// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+
+// Parsing type parameter packs.
+template <typename ... Args> struct T1 {};
+template <typename ... > struct T2 {};
+
OpenPOWER on IntegriCloud