☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
overload13.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/overload13.C
code
plain
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
}