/* { dg-do compile } */ /* { dg-additional-options "-fvect-cost-model=dynamic -mcpu=zeus" { target aarch64*-*-* } } */ template struct complex; template <> struct complex { void operator+= (complex r) { v_ += r.v_; } _Complex v_; }; template void bar (T); void foo (complex *x) { complex s = {0.0}; for (int i = 0; i < 16; ++i) s += x[i]; bar > (s); }