]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/constexpr-ref7.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-ref7.C
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 };
This page took 0.040717 seconds and 5 git commands to generate.