OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/53549
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
eh
/
spec8.C
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 "exception" }
7
8
struct bar
9
{
10
template <typename T> friend void foo(); // { dg-error "exception" }
11
};