Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/overload13.C

raw
1 // { dg-do assemble }
2 // Origin: Nathan Sidwell <[email protected]>
3
4 struct A {
5 bool operator== (A const &) const;
6 operator bool () const;
7 operator int * () const;
8 };
9
10 bool foo (A &a1, A &a2)
11 {
12 return a1 == a2;
13 }