1 // PR c++/64462 2 // { dg-do compile { target c++11 } } 3 4 int x = 0; 5 int z; 6 main()7 int main() { 8 constexpr int& y = x; 9 // OK, 'y' is not ODR used 10 [] { z = y; }(); 11 } 12