blob: 7936536042d57fa211683bff81f9f1c19bf70160 [file] [log] [blame]
// PR c++/50298
// { dg-do compile { target c++11 } }
int global_variable;
template <class T> struct X {
static constexpr T r = global_variable;
};
X<int&> x;