summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20100723-1_0.C
blob: d39963593774bc0644b5d6a1f617e6341fc060ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-lto-do link } */
/* { dg-lto-options {{-fcompare-debug -flto -flto-partition=none} {-fcompare-debug -flto -flto-partition=1to1}} } */

struct S {
    virtual void f() { }
};

int main(int, char *[])
{
  S s;
  return 0;
}