Reverting merge from trunk
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr38565.C
blob8cd1e1d4b9b86dd1babfb0066650a2753f5c8bd4
1 // { dg-do compile }
2 // Ignore warning on some powerpc-linux configurations.
3 // { dg-prune-output "non-standard ABI extension" }
4 #define vector __attribute__((vector_size(16) ))
5 vector unsigned int f(int a)
7   vector unsigned int mask = a ? (vector unsigned int){ 0x80000000, 0x80000000,
8 0x80000000, 0x80000000 } : (vector unsigned int){0};
9   return mask;