summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20090315_1.C
blob: 0a2fba552a611ebbaa9a6b6c35159bec1aece531 (plain)
1
2
3
4
5
6
7
struct Foo {
  bool Mumble() { return true; }
  static void Bar() { if (foo_->Mumble()) foo_ = 0; }
  static void Baz() { Bar(); }
  static Foo *foo_;
};
void Unused() { Foo::Bar(); Foo::Baz(); }