aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/constexpr-nonstatic.C
blob: bb0743adb712e57e3fd86570abf4b8e646c70c40 (plain)
1
2
3
4
5
6
// { dg-do compile { target c++11 } }

struct A
{
  constexpr int i;		// { dg-error "" }
};