1#define __bitwise __attribute__((bitwise))
2
3typedef unsigned int __bitwise t;
4
5unsigned int fun(void);
6
7static t (*ptr)(void) = fun;
8
9/*
10 * check-name: bitwise-function-pointer
11 *
12 * check-error-start
13bitwise-function-pointer.c:7:25: warning: incorrect type in initializer (different base types)
14bitwise-function-pointer.c:7:25:    expected restricted t ( *static [toplevel] ptr )( ... )
15bitwise-function-pointer.c:7:25:    got unsigned int ( * )( ... )
16 * check-error-end
17 */
18