1 #define __as __attribute__((address_space(__as)))
8 extern void use0(void *);
9 extern void use1(void __as
*);
23 * check-name: type-attribute-as
26 type-attribute-as.c:16:15: warning: incorrect type in argument 1 (different address spaces)
27 type-attribute-as.c:16:15: expected void *
28 type-attribute-as.c:16:15: got struct s __as *
29 type-attribute-as.c:19:15: warning: incorrect type in argument 1 (different address spaces)
30 type-attribute-as.c:19:15: expected void __as *
31 type-attribute-as.c:19:15: got int *