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