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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
eh6.C
blob
cc29ea59579bd441cd3cf59f04ea075541c1c166
1
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
2
// { dg-options "-fexceptions" }
3
4
extern "C" int printf(const char *, ...);
5
6
void main1() {
7
throw 1;
8
}
9
10
11
int main() {
12
try {
13
main1();
14
} catch (...) {
15
printf("Unwind works!\n");
16
return 0;
17
}
18
return 1;
19
}