* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-70001-3.C
blob12c4c453e1af60c16a1b80f93a45b1b8326c59c7
1 // PR c++/70001
3 // This is still slow to compile, only run it once.
4 // { dg-do compile { target c++14_only } }
6 #include <array>
7 #include <complex>
9 typedef std::complex<double> cd;
11 const int LOG = 17;
12 const int N = (1 << LOG);
14 std::array<cd, N> a;
15 std::array<cd, N> b;
17 void
18 foo (std::array<cd, N> &arr)
20   std::array<std::array<cd, N>, LOG + 1> f;
23 int
24 main ()
26   foo (a);
27   foo (b);