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

struct A
{
  static constexpr A a = 1;	// { dg-error "incomplete" }
  constexpr A(int i) { }
};