blob: 2d59f4766e975e1c00af01610b9889d1c3c5e420 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename T, typename U = typename T::value_type>
void f(T);
void f(...);
struct X {
typedef int value_type;
};
void g()
{
f(X()); // okay
f(17); // okay?
}