NetBSD/gnu/dist/gcc4/gcc/testsuite/gcc.dg/vmx/7c-01.c

12 lines
222 B
C

/* { dg-do compile } */
#include <altivec.h>
vector float
f(int i)
{
switch (i) {
case 0:
return (vector float)(((vector unsigned char){3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3}));
}
return ((vector float){0,0,0,0});
}