]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/lto/20090315_0.C
Merge lto branch into trunk.
[thirdparty/gcc.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; }