summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_variadic_templates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/cxx_variadic_templates.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_variadic_templates.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CompileFeatures/cxx_variadic_templates.cpp b/Tests/CompileFeatures/cxx_variadic_templates.cpp
index 1d5a706..a80e157 100644
--- a/Tests/CompileFeatures/cxx_variadic_templates.cpp
+++ b/Tests/CompileFeatures/cxx_variadic_templates.cpp
@@ -1,4 +1,4 @@
-template<int I, int... Is>
+template<int... Is>
struct Interface;
template<int I>
@@ -11,7 +11,7 @@ struct Interface<I>
};
template<int I, int... Is>
-struct Interface
+struct Interface<I, Is...>
{
static int accumulate()
{