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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ext
/
addrfunc3.C
blob
16d33186f9ab40c24eee6e1f6ede3ef61a32b4a2
1
// { dg-do run }
2
// { dg-options "-fpermissive -w" }
3
// Test for overload resolution in comparison expressions.
4
// Contributed by Jason Merrill <jason@cygnus.com>.
5
6
void f (int) { }
7
void f ();
8
9
int main () {
10
void (*p)(int);
11
p = f;
12
if (p != f)
13
return 1;
14
}