Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr69077_1.C
blob: 2173b6c901f9c87989e408cd81e84f111857382b [
file
] [
log
] [
blame
]
struct
cStdDev
{
long
ns
;
virtual
double
mean
()
const
{
return
ns
;
}
};
struct
sf
{
void
recordScalar
(
double
value
);
cStdDev eedStats
;
virtual
void
finish
();
};
void
sf
::
finish
()
{
recordScalar
(
eedStats
.
mean
());
}