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
/
dead1.C
blob
88ae92264d05fc1baf790bc06a3910f7e8d3436e
1
// PR 6320
2
// Rechained the MUST_NOT_THROW region in the wrong order wrt the
3
// TRY/CATCH while removing them and got confused.
4
// { dg-do compile }
5
6
struct S {
7
~S();
8
};
9
10
void foo()
11
{
12
try {
13
return;
14
}
15
catch (int) {
16
}
17
catch (...) {
18
S s;
19
}
20
}