PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr84630.C
blob3c2b4e46e3489b4eb56085ab15cf8b17a9db10e9
1 // PR c++/84630
2 // { dg-do compile { target c++11 } }
4 template <typename...> struct c {
5   template <int> __attribute__((noinline([] {}))) int b();  // { dg-error "wrong number of arguments" }
6 };
7 c<> a;