helper: strip out the byte swaps in strip_expr()
[smatch.git] / validation / cond-address-function.c
blob9a143a0091639e264a1ca6e55c174585d094bc3b
1 extern void func(void);
3 int global_function(void)
5 if (func)
6 return 1;
7 return 0;
11 * check-name: cond-address-function
12 * check-command: test-linearize -Wno-decl -Waddress $file
13 * check-output-ignore
15 * check-error-start
16 cond-address-function.c:5:13: warning: the address of a function will always evaluate as true
17 * check-error-end