OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
overload13.C
1
// { dg-do assemble }
2
// Origin: Nathan Sidwell <nathan@codesourcery.com>
3
4
struct A {
5
bool operator== (A const &);
6
operator bool () const;
7
operator int * () const;
8
};
9
10
bool foo (A &a1, A &a2)
11
{
12
return a1 == a2;
13
}