2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030505.c
blob0df1c0335ebbbc7b7840986ac5a12bbd589b3cba
1 /* { dg-do compile { target powerpc-*-eabispe* } } */
2 /* { dg-options "-W" } */
4 #define __vector __attribute__((vector_size(8)))
6 typedef float __vector __ev64_fs__;
8 __ev64_opaque__ *p1;
9 __ev64_fs__ *p2;
10 int *x;
12 extern void f (__ev64_opaque__ *);
14 int main ()
16 f (x); /* { dg-warning "incompatible pointer type" } */
17 f (p1);
18 f (p2);
19 return 0;