summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/pr69077_0.C
blob: 6a81d0e3a5cb87fbf68f1e646e0766583c26a0ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-lto-do link }
// { dg-lto-options { { -O3 -g -flto } } }
// { dg-extra-ld-options "-r -nostdlib" }

struct cStdDev
{
  long ns;
  virtual double mean() const {  return ns;  }
};

struct cWeightedStdDev : public cStdDev {
    virtual int netPack();
};
int cWeightedStdDev::netPack() { }