1*1f5207b7SJohn Levon #ifndef FOO
2*1f5207b7SJohn Levon struct st { int len; };
3*1f5207b7SJohn Levon #define FOO
4*1f5207b7SJohn Levon #else
5*1f5207b7SJohn Levon struct st;
6*1f5207b7SJohn Levon static int test(struct st *s);
test(struct st * s)7*1f5207b7SJohn Levon static int test(struct st *s)
8*1f5207b7SJohn Levon {
9*1f5207b7SJohn Levon 	return s->len;
10*1f5207b7SJohn Levon }
11*1f5207b7SJohn Levon #endif
12*1f5207b7SJohn Levon /*
13*1f5207b7SJohn Levon  * check-name: There is no scope boundary between global and file scope
14*1f5207b7SJohn Levon  * check-description: Used to mess scopes with -include
15*1f5207b7SJohn Levon  * check-command: sparse -include $file $file
16*1f5207b7SJohn Levon  */
17