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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
ice990323-5.C
blob
c0dfcd592ebefadf1d0d20aac40b08f61731496d
1
// { dg-do assemble }
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; // { dg-error "" } insufficient context
12
}