☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-57764.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-57764.C
code
plain
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;