rt_gccstream/gcc/testsuite/gcc.dg/vector-4.c

13 lines
272 B
C

/* { dg-do compile } */
/* { dg-options "-fno-common" { target { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } } } */
#define vector __attribute__((vector_size(4*sizeof(int)) ))
vector int a, b, c;
/* Test that remainder works for vectors. */
void f(void)
{
a = b % c;
}