OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
eh8.C
1
// Special g++ Options: -fexceptions
2
// excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe**-*
3
4
extern "C" int printf(const char *, ...);
5
6
int i;
7
8
main() {
9
try {
10
try {
11
throw i;
12
} catch (char *) {
13
return 1;
14
}
15
return 1;
16
} catch (int i) {
17
return 0;
18
}
19
return 1;
20
}