☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ref7.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-ref7.C
code
plain
raw
1
// PR c++/57654
2
// { dg-do compile { target c++11 } }
3
4
int i;
5
6
constexpr int & iref = i;
7
constexpr int & irefref = iref;
8
9
class A {
10
static constexpr int & irefref = iref;
11
};