blob: 15ca995f828a66d34ecee1a25c293e2c6f032843 [file] [log] [blame]
// PR c++/65942
// { dg-do compile { target c++11 } }
template <typename T> constexpr int f(T t) { return t; }
template <typename T, typename = decltype(f(T()))> void g(T) { }
void g(...) { }
int main() { g(""); }