aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/c-c++-common/vector-4.c
blob: cc4d5041f63620a3c655d385a2abbc7d1a0d27dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-fno-common" { target { { hppa*-*-hpux* } && { ! lp64 } } } } */
#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;
}