repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2014-04-07 Charles Baylis <charles.baylis@linaro.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr46364.C
blob
8098991ace02a59a8d4a47ba03d3e0e8bdec3eaf
1
// { dg-do compile }
2
#include <string>
3
4
void a() throw (int);
5
void b(std::string const &);
6
7
void c(std::string *e)
8
{
9
b("");
10
11
try {
12
a();
13
} catch (...) {
14
*e = "";
15
}
16
}
17
18
void d() {
19
c(0);
20
}