2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git] / gcc / testsuite / g++.dg / vect / pr51485.cc
blobd57d7596d0e2bc2a9bcf018a59cb2233cbdb0c77
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]);
14 /* { dg-final { cleanup-tree-dump "vect" } } */