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
PR rtl-optimization/40924
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr36191.C
1
// PR c++/36191
2
// { dg-do compile }
3
// { dg-options "-fnon-call-exceptions" }
4
5
__complex__ double
6
foo (__complex__ double x, double y)
7
{
8
try
9
{
10
return x / y;
11
}
12
catch (char *s)
13
{
14
return x;
15
}
16
}