* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / sfinae15.C
blobd8b3228903023ece89f9fb15e657d7353ee32355
1 // PR c++/48531
2 // { dg-do compile { target c++11 } }
4 template<class T,
5   class = decltype(T())
7 char f(int);
9 template<class>
10 char (&f(...))[2];
12 static_assert(sizeof(f<int[]>(0)) != 1, "Error");