PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-ex2.C
bloba887e339848c3f61ae25d1cc511fe8106cdd0c1d
1 // { dg-do compile { target c++11 } }
2 template<class... Types> struct B { // { dg-message "declaration of" }
3   void f3();
4   void f4();
5 };
7 template<class... Types> void B<Types...>::f3() { } // OK
8 template<class... Types> void B<Types>::f4() { } // { dg-error "invalid" }