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