1f08c3bdfSopenharmony_cistatic int foo(void) __attribute__((unknown_attribute));
2f08c3bdfSopenharmony_ci
3f08c3bdfSopenharmony_ci/*
4f08c3bdfSopenharmony_ci * check-name: warn-unknown-attribute-yes
5f08c3bdfSopenharmony_ci * check-command: sparse -Wunknown-attribute $file
6f08c3bdfSopenharmony_ci *
7f08c3bdfSopenharmony_ci * check-error-start
8f08c3bdfSopenharmony_ciWunknown-attribute-yes.c:1:37: warning: unknown attribute 'unknown_attribute'
9f08c3bdfSopenharmony_ci * check-error-end
10f08c3bdfSopenharmony_ci */
11