* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / sfinae38.C
blob2e860ee69998283b67d7cd70b787fbad67f78cf0
1 // { dg-do compile { target c++11 } }
3 template<class T, unsigned = sizeof(T)>
4 auto f(int) -> char;
6 template<class>
7 auto f(...) -> char(&)[2];
9 static_assert(sizeof(f<void>(0)) != 1, "");
10 static_assert(sizeof(f<void()>(0)) != 1, "");