blob: 81e5bac8a253d0a9847d2a8153dc0d57bf16e3e0 [file] [log] [blame]
// Origin: PR c++/42758
// { dg-do compile }
template<class T> struct less {};
template<class T, typename U = less<T> > struct set {};
struct int_less_than {};
void assert_fail (const char*);
void f(const set<int, int_less_than>&)
{
assert_fail (__PRETTY_FUNCTION__);
}