2017-05-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/71451
* g++.dg/cpp0x/variadic170.C: New.
From-SVN: r248473
+2017-05-25 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/71451
+ * g++.dg/cpp0x/variadic170.C: New.
+
2017-05-25 Volker Reichelt <v.reichelt@netcologne.de>
* g++.dg/warn/Wcatch-value-1.C: New test.
--- /dev/null
+// PR c++/71451
+// { dg-do compile { target c++11 } }
+
+template < int > struct A;
+
+template < typename ... T >
+struct B
+{
+ template < typename A < T::value >::type > void foo (); // { dg-error "parameter packs" }
+};
+
+int main ()
+{
+ B < int > t;
+ t.foo ();
+ return 0;
+}