1 #define __visible __attribute__((externally_visible))
2 
foo(void)3 __visible void foo(void)
4 {
5 }
6 
7 int flag __visible;
8 
9 /*
10  * check-name: attr-visible
11  * check-command: sparse -Wdecl $file
12  */
13