1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin: PR c++/39639
3 // { dg-do compile { target c++11 } }
4 // { dg-prune-output "template argument 1 is invalid" }
6 template <class... Types>
8 : S<...Types>, // { dg-error "expected parameter pack before '...'" }
9 S<...Types...>, // { dg-error "expected parameter pack before '...'" }
10 S<...> // { dg-error "expected parameter pack before '...'" }
12 static int f () { return 1;}