3 #define vector __attribute__((vector_size(16)))
5 extern "C" void abort();
15 static vector float foo();
19 data.f[0] = 1.0; data.f[1] = 2.0; data.f[2] = 3.0, data.f[3] = 4.0;
23 friend vector float fTest();
26 vector float Star::foo()
33 vector float vf = Star::foo();
44 for (int i=0 ; i < 4; i++)
45 if (data.f[i] != (float)(i+1))
50 /* Ignore a warning that is irrelevant to the purpose of this test. */
51 /* { dg-prune-output ".*GCC vector returned by reference.*" } */