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