summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-nonstatic.C
blob: 3951fbdb15cd13c9e84755203147fe445ebaaeff (plain)
1
2
3
4
5
6
// { dg-options -std=c++0x }

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