Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr36191.C
blob: 18051cedf7ac060139d5fb41a122d03c442ed12a [
file
] [
log
] [
blame
]
// PR c++/36191
// { dg-do compile }
// { dg-options "-fnon-call-exceptions" }
__complex__
double
foo
(
__complex__
double
x
,
double
y
)
{
try
{
return
x
/
y
;
}
catch
(
char
*
s
)
{
return
x
;
}
}