OSDN Git Service

Merge lto branch into trunk.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / lto / 20090315_0.C
1 // { dg-lto-do run }
2 struct Foo {
3   bool Mumble() { return true; }
4   static void Bar() { if (foo_->Mumble()) foo_ = 0; }
5   static void Baz() { Bar(); }
6   static Foo *foo_;
7 };
8 Foo *Foo::foo_;
9 main() { return 0; }