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
Merge in xfails from PR14107.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
eh42.C
1
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
2
// { dg-options "-fexceptions" }
3
4
struct none { int i[50]; };
5
6
class my_ex { } a;
7
8
none throw_it() {
9
throw 1;
10
}
11
12
int main() {
13
try {
14
none n = throw_it();
15
} catch (int ex) {
16
return 0;
17
}
18
}