OSDN Git Service

PR c++/44157
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / variadic-ex2.C
1 // { dg-options "-std=gnu++0x" }
2 template<class... Types> struct B { // { dg-error "declaration of" }
3   void f3();
4   void f4();
5 };
6
7 template<class... Types> void B<Types...>::f3() { } // OK
8 template<class... Types> void B<Types>::f4() { } // { dg-error "invalid" }