2 // { dg-options "-O2" }
6 // No out-of-class definition is provided for these class members.
7 // That's technically a violation of the standard, but no diagnostic
8 // is required, and, as a QOI issue, we should optimize away all
10 static const int erf = 0;
11 static const int foo = 1;
21 return Foo::foo + Foo::erf;
26 return x ? Foo::erf : Foo::foo;