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++.robertl
/
ice990323-5.C
blob
45225e3f0ceda1ee8675c351dcbd9bb745e10ac8
1
// Build don't link:
2
// check attempting to throw an overloaded function
3
4
struct A {
5
void f(int);
6
void f(long);
7
};
8
9
void g()
10
{
11
throw &A::f; // ERROR - insufficient context
12
}