1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin: PR c++/39639
4 // { dg-options "-std=c++0x" }
5 // { dg-prune-output "template argument 1 is invalid" }
7 template <class... Types>
9 : S<...Types>, // { dg-error "expected parameter pack before '...'" }
10 S<...Types...>, // { dg-error "expected parameter pack before '...'" }
11 S<...> // { dg-error "expected parameter pack before '...'" }
13 static int f () { return 1;}