[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20090302_1.C
blob0ccaf3c82054cf298f51bd96f777ab51a0ba0618
1 struct Foo {
2   bool Mumble();
3   static void Bar() { if (foo_->Mumble()) foo_ = 0; }
4   static void Baz() { Bar(); }
5   static Foo *foo_;
6 };
7 Foo *Foo::foo_;