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

struct A
{
  int i;
  constexpr A() { }		// { dg-error "uninitialized member .A::i" }
};