aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-70001-4.C
blob: c1ab1765b3e8b9732f3c128a1671a134cf058f07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/70001
// { dg-do compile { target c++11 } }

struct B
{
  int a;
  constexpr B () : a (0) { }
};

struct A
{
  B b[1 << 19][1][1][1];
} c;