expressions: make assign_expression() take an op argument
[smatch.git] / validation / implicit-ret-type.c
blob784a285310eb4dd47e1b25126cdec1a045500786
1 fun(void);
3 foo(void) { return 1; }
4 static bar(void) { return 1; }
6 /*
7 * check-name: implicit-ret-type.c
8 * check-command: sparse -Wno-decl $file
10 * check-error-start
11 implicit-ret-type.c:1:1: warning: 'fun()' has implicit return type
12 implicit-ret-type.c:3:1: warning: 'foo()' has implicit return type
13 implicit-ret-type.c:4:8: warning: 'bar()' has implicit return type
14 * check-error-end