aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vmx/cw-bug-1.c
blob: 0c3028b5122b159943b047bcc4c4d6eca8eb73c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <altivec.h>
#include <stdlib.h>

#define ZERO (((vector unsigned char){0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}))

int main(void)
{
  vector unsigned char a = ZERO;
  if (vec_any_ne(a, ZERO))
    abort ();
  return 0;
}