repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr36191.C
blob
175707d1baf3c922753ff0b19eaadc9b929ffda6
1
// PR c++/36191
2
// { dg-do compile }
3
// { dg-options "-fnon-call-exceptions" }
4
// { dg-skip-if "Frame pointer required for unwind tables" { m68k*-*-* fido*-*-* } "-fomit-frame-pointer" "" }
5
6
__complex__ double
7
foo (__complex__ double x, double y)
8
{
9
try
10
{
11
return x / y;
12
}
13
catch (char *s)
14
{
15
return x;
16
}
17
}