summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vmx/1b-01.c
blob: 8cdacb640f1acc9883a8fc39f86a33825d127992 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "harness.h"

vector unsigned char a;

static void test()
{ 
  check(sizeof(a) == 16, "sizeof(a)");
  check(((long)&a & 15) == 0, "alignof(a)");
  check((long)&a != 0, "&a");
  check(vec_all_eq(a,((vector unsigned char){0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0})), "value(a)");
}