repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
eh
/
spec8.C
blob
7a35e6e807217d969a08e855b78d83f89b18542d
1
// PR c++/24817
2
3
struct exception {};
4
5
template <typename T> void foo() throw(exception); // { dg-error "declaration" }
6
template <typename T> void foo(); // { dg-error "exceptions" }
7
8
struct bar
9
{
10
template <typename T> friend void foo(); // { dg-error "exceptions" }
11
};