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

struct A
{
  constexpr A() {}
  static constexpr A a[2] = {};  // { dg-error "incomplete" }
};