summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vmx/7c-01.c
blob: 68e07aa305bc0e8795992b2c7b5019a46e6a5c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { 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});
}