repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ext
/
addrfunc3.C
blob
7926eba41da5f4e385f2b0db4b471f6f952d9541
1
// Test for overload resolution in comparison expressions.
2
// Contributed by Jason Merrill <jason@cygnus.com>.
3
// Special g++ Options: -fpermissive -w
4
5
void f (int) { }
6
void f ();
7
8
int main () {
9
void (*p)(int);
10
p = f;
11
if (p != f)
12
return 1;
13
}