1 // PR c++/57764 2 // { dg-do compile { target c++11 } } 3 4 constexpr int x = 42; 5 6 struct S 7 { 8 static constexpr int const & y = x; 9 }; 10 11 constexpr int const & S::y; 12