aboutsummaryrefslogtreecommitdiff
path: root/test/PCH/cxx-variadic-templates.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/cxx-variadic-templates.h')
-rw-r--r--test/PCH/cxx-variadic-templates.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/PCH/cxx-variadic-templates.h b/test/PCH/cxx-variadic-templates.h
index f6ee7876c2c2..50596cdf5dbf 100644
--- a/test/PCH/cxx-variadic-templates.h
+++ b/test/PCH/cxx-variadic-templates.h
@@ -16,3 +16,10 @@ shared_ptr<_Tp>::allocate_shared(const _Alloc& __a, _Args&& ...__args)
shared_ptr<_Tp> __r;
return __r;
}
+
+template<typename...Ts> struct outer {
+ template<Ts...Vs, template<Ts> class ...Cs> struct inner {
+ inner(Cs<Vs>...);
+ };
+};
+template struct outer<int, int>;