summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/vector16.C
blob: 7964a881f4a367e0cf41ca337be76805a934e08a (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
#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;
}