Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
(
""
));