PR c++/71548
* g++.dg/cpp0x/variadic177.C: New test.
From-SVN: r272438
+2019-06-18 Marek Polacek <polacek@redhat.com>
+
+ PR c++/71548
+ * g++.dg/cpp0x/variadic177.C: New test.
+
2019-06-18 Richard Sandiford <richard.sandiford@arm.com>
* gcc.target/aarch64/sve/struct_vect_18.c: Allow branches to
--- /dev/null
+// PR c++/71548
+// { dg-do compile { target c++11 } }
+
+template<typename> class fl {};
+template<typename = void, template<class...> class = fl>
+struct S {};
+template<typename... T>
+void f(S<T...> ) {}
+void lol() {
+ S<> s;
+ f(s); // { dg-error "no matching function for call to" }
+}