blob: 56cbdadc585037db79178eb24f823b84dd424765 [file] [log] [blame]
// PR c++/48531
// { dg-do compile { target c++11 } }
template<class T,
class = decltype(T())
>
char f(int);
template<class>
double f(...);
struct B2 {
B2(...);
};
#define SA(X) static_assert ((X), #X)
SA(sizeof(f<B2[2]>(0)) != 1);