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

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