Debian Codegraph @

gcc/testsuite/g++.dg/template/partial-order4.C

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 }