[testsuite] Fix directives order
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / 20030505.c
blob1182d8d42b7be22e43041762c28b43f6f5337124
1 /* { dg-do compile } */
2 /* { dg-options "-W -mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single" } */
3 /* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } } */
5 #define __vector __attribute__((vector_size(8)))
7 typedef float __vector __ev64_fs__;
9 __ev64_opaque__ *p1;
10 __ev64_fs__ *p2;
11 int *x;
13 extern void f (__ev64_opaque__ *); /* { dg-message "expected.*but argument is of type" } */
15 int main ()
17 f (x); /* { dg-warning "incompatible pointer type" } */
18 f (p1);
19 f (p2);
20 return 0;