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
/
synth2.C
blob
2da814db9d632a24426ccf6c550c2eb602fce221
1
// PR c++/24580
2
// { dg-do run }
3
4
struct vbase {};
5
6
struct foo : virtual vbase
7
{
8
foo()
9
{
10
throw "exception in foo ctor";
11
}
12
};
13
14
struct bar : public foo {};
15
16
int main()
17
{
18
try
19
{
20
bar a;
21
}
22
catch ( ... ) { }
23
return 0;
24
}