Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr39764.C
blob: a8901331352569a220a21c13f8730ad893fbc00b [
file
] [
log
] [
blame
]
/* { dg-do compile } */
class
A
;
class
B
{
};
extern
const
double
NaN
;
B foo
(
A
*
exec
,
double
d
);
inline
B baz
(
A
*
a
)
{
return
foo
(
a
,
NaN
);
}
B bar
(
A
*
a
)
{
return
baz
(
a
);
}
extern
const
double
NaN
=
(
__builtin_nanf
(
""
));