// PR c++/50298 // { dg-options -std=c++0x } int global_variable; template struct X { static constexpr T r = global_variable; }; X x;