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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload20.C
blob
f5db6a20fce618a3ed71c375066f5259ccef9504
1
// { dg-do assemble }
2
// Bug: this code causes an internal compiler error 4.
3
4
void f (char *);
5
void f (int);
6
struct A {
7
void f (); // { dg-error "" } candidate
8
void f (int); // { dg-error "" } candidate
9
void g () {
10
void (*p)(char *) = f; // { dg-error "" } no matching function in scope
11
}
12
};