OSDN Git Service

2012-01-03 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / vector-4.c
1 /* { dg-do compile } */
2 /* { dg-options "-fno-common" { target { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } } } */
3 #define vector __attribute__((vector_size(4*sizeof(int)) ))
4
5 vector int a, b, c;
6
7
8 /* Test that remainder works for vectors. */
9 void f(void)
10 {
11   a = b % c;
12 }