* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-70001-2.C
blob96f5ad42398c5f7614f84381748fe549e98eb478
1 // PR c++/70001
2 // { dg-do run { target c++11 } }
4 struct B
6   struct B *a;
7   constexpr B () : a (this) { }
8 };
10 constexpr int N = 1 << 4;
11 struct A { B c[N]; } d;
13 int
14 main ()
16   for (int i = 0; i < N; ++i)
17     if (d.c[i].a != &d.c[i])
18       __builtin_abort ();