diff options
Diffstat (limited to 'test/PCH/cxx-templates.h')
-rw-r--r-- | test/PCH/cxx-templates.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/PCH/cxx-templates.h b/test/PCH/cxx-templates.h index 152e8cef5464..756f208b76fd 100644 --- a/test/PCH/cxx-templates.h +++ b/test/PCH/cxx-templates.h @@ -215,3 +215,8 @@ class Foo : protected T public: Foo& operator=( const Foo& other ); }; + +template<typename...A> struct NestedExpansion { + template<typename...B> auto f(A...a, B...b) -> decltype(g(a + b...)); +}; +template struct NestedExpansion<char, char, char>; |