aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/attr-visible2.c
blob: 989181692107cc9d9b27ad82dc98935dc5cc4a01 (plain)
1
2
3
4
5
6
7
8
9
#define __visible __attribute__((externally_visible))

int flag __visible;
int arr[2] __visible;

/*
 * check-name: attr-visible-after
 * check-command: sparse -Wdecl $file
 */