blob: 25a70b7df36838db6d23ea98f495070a82b7ecd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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*);
int f(const set<int, int_less_than>&)
{
assert_fail (__PRETTY_FUNCTION__);
}
|