Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-57764.C

raw
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;