aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/testsuite/g++.dg/cpp0x/constexpr-ice2.C
blob: 35643b990c101bb4e10dc3c706150657e6783cb3 (plain)
1
2
3
// { dg-options -std=c++0x }
int x;
constexpr int& rx = x; // { dg-error "int&" }