OSDN Git Service

PR c++/51186
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / lto / 20100723-1_0.C
1 /* { dg-lto-do link } */
2 /* { dg-lto-options {{-fcompare-debug -flto -flto-partition=none} {-fcompare-debug -flto -flto-partition=1to1}} } */
3
4 struct S {
5     virtual void f() { }
6 };
7
8 int main(int, char *[])
9 {
10   S s;
11   return 0;
12 }