☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
partial-order4.C
☽
☼
gcc/testsuite/g++.dg/template/partial-order4.C
code
plain
raw
1
// DR 532
2
// PR c++/53499
3
// [temp.func.order] says that we do ordering on the first parameter.
4
5
struct A
6
{
7
template <class T>
8
bool operator==(T);
9
};
10
11
template <class T, class U>
12
bool operator==(T, U);
13
14
int main()
15
{
16
A() == A();
17
}