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