1// { dg-lto-do run } 2struct 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}; 8Foo *Foo::foo_; 9main() { return 0; } 10