blob: c71e062f31949e1c6fdca43b6a961dd7ac9bd075 (
plain)
1
2
3
4
5
6
7
8
9
|
/* { dg-lto-do link } */
/* { dg-lto-options {{-fPIC -fwhopr -shared}} } */
struct Foo {
bool Mumble();
static void Bar() { if (foo_->Mumble()) foo_ = 0; }
static void Baz() { Bar(); }
static Foo *foo_;
};
void Unused() { Foo::Bar(); Foo::Baz(); }
|