1 #define __user __attribute__((address_space(1)))
8 extern void use0(void *);
9 extern void use1(void __user
*);
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 *<noident>
28 type-attribute-as.c:16:15: got struct s <asn:1>*<noident>
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 <asn:1>*<noident>
31 type-attribute-as.c:19:15: got int *<noident>