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
2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
eh8.C
blob
be69abcf855a97fc176f241a5f519e5088710be9
1
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
2
// { dg-options "-fexceptions" }
3
4
extern "C" int printf(const char *, ...);
5
6
int i;
7
8
int
9
main() {
10
try {
11
try {
12
throw i;
13
} catch (char *) {
14
return 1;
15
}
16
return 1;
17
} catch (int i) {
18
return 0;
19
}
20
return 1;
21
}