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
/
spec5.C
blob
be8f327c0b7d5dc2dfcad73002fe84552687d64a
1
// Test for extension to allow incomplete types in an
2
// exception-specification for a declaration.
3
4
// { dg-do run }
5
// { dg-options "-fpermissive -w" }
6
7
struct A;
8
9
struct B
10
{
11
void f () throw (A);
12
};
13
14
struct A {};
15
16
void B::f () throw (A) {}
17
18
int main ()
19
{
20
B b;
21
b.f();
22
}