blob: 12c4c453e1af60c16a1b80f93a45b1b8326c59c7 [file] [log] [blame]
// PR c++/70001
// This is still slow to compile, only run it once.
// { dg-do compile { target c++14_only } }
#include <array>
#include <complex>
typedef std::complex<double> cd;
const int LOG = 17;
const int N = (1 << LOG);
std::array<cd, N> a;
std::array<cd, N> b;
void
foo (std::array<cd, N> &arr)
{
std::array<std::array<cd, N>, LOG + 1> f;
}
int
main ()
{
foo (a);
foo (b);
}