2016-12-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / g++.dg / vect / pr51485.cc
blob26fcdcfd7c274fcc567f9b9fc98a1ba69639d803
1 /* { dg-do compile } */
3 struct A { A (); unsigned int a; };
4 double bar (A a) throw () __attribute__((pure));
6 void
7 foo (unsigned int x, double *y, A *z)
9 unsigned int i;
10 for (i = 0; i < x; i++)
11 y[i] = bar (z[i]);