[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20090315_1.C
blob0a2fba552a611ebbaa9a6b6c35159bec1aece531
1 struct Foo {
2   bool Mumble() { return true; }
3   static void Bar() { if (foo_->Mumble()) foo_ = 0; }
4   static void Baz() { Bar(); }
5   static Foo *foo_;
6 };
7 void Unused() { Foo::Bar(); Foo::Baz(); }