blob: 0df1c0335ebbbc7b7840986ac5a12bbd589b3cba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* { dg-do compile { target powerpc-*-eabispe* } } */
/* { dg-options "-W" } */
#define __vector __attribute__((vector_size(8)))
typedef float __vector __ev64_fs__;
__ev64_opaque__ *p1;
__ev64_fs__ *p2;
int *x;
extern void f (__ev64_opaque__ *);
int main ()
{
f (x); /* { dg-warning "incompatible pointer type" } */
f (p1);
f (p2);
return 0;
}
|