1f08c3bdfSopenharmony_cistatic void a(void) __attribute__((context)); // KO 2f08c3bdfSopenharmony_cistatic void b(void) __attribute__((context())); // KO 3f08c3bdfSopenharmony_cistatic void c(void) __attribute__((context 1)); // KO 4f08c3bdfSopenharmony_cistatic void d(void) __attribute__((context 1,2)); // KO 5f08c3bdfSopenharmony_cistatic void e(void) __attribute__((context (1))); // !!!! 6f08c3bdfSopenharmony_cistatic void f(void) __attribute__((context(0))); // !!!! 7f08c3bdfSopenharmony_cistatic void g(void) __attribute__((context(0,1,2,3))); // KO 8f08c3bdfSopenharmony_ci 9f08c3bdfSopenharmony_cistatic void h(void) __attribute__((context (1,2))); // OK 10f08c3bdfSopenharmony_cistatic void i(void) __attribute__((context(0,1))); // OK 11f08c3bdfSopenharmony_cistatic void j(void) __attribute__((context(0,1,2))); // OK 12f08c3bdfSopenharmony_ci 13f08c3bdfSopenharmony_ciextern int u, v; 14f08c3bdfSopenharmony_cistatic void x(void) __attribute__((context(0,1,v))); 15f08c3bdfSopenharmony_cistatic void y(void) __attribute__((context(0,u,1))); 16f08c3bdfSopenharmony_cistatic void z(void) __attribute__((context(0,u))); 17f08c3bdfSopenharmony_ci 18f08c3bdfSopenharmony_ci/* 19f08c3bdfSopenharmony_ci * check-name: attr-context 20f08c3bdfSopenharmony_ci * 21f08c3bdfSopenharmony_ci * check-error-start 22f08c3bdfSopenharmony_ciattr-context.c:1:43: error: Expected ( after context attribute 23f08c3bdfSopenharmony_ciattr-context.c:1:43: error: got ) 24f08c3bdfSopenharmony_ciattr-context.c:2:44: error: Expected , after context 1st argument 25f08c3bdfSopenharmony_ciattr-context.c:2:44: error: got ) 26f08c3bdfSopenharmony_ciattr-context.c:3:44: error: Expected ( after context attribute 27f08c3bdfSopenharmony_ciattr-context.c:3:44: error: got 1 28f08c3bdfSopenharmony_ciattr-context.c:4:44: error: Expected ( after context attribute 29f08c3bdfSopenharmony_ciattr-context.c:4:44: error: got 1 30f08c3bdfSopenharmony_ciattr-context.c:5:46: error: Expected , after context 1st argument 31f08c3bdfSopenharmony_ciattr-context.c:5:46: error: got ) 32f08c3bdfSopenharmony_ciattr-context.c:6:45: error: Expected , after context 1st argument 33f08c3bdfSopenharmony_ciattr-context.c:6:45: error: got ) 34f08c3bdfSopenharmony_ciattr-context.c:7:49: error: Expected ) after context 3rd argument 35f08c3bdfSopenharmony_ciattr-context.c:7:49: error: got , 36f08c3bdfSopenharmony_ciattr-context.c:14:48: error: bad constant expression 37f08c3bdfSopenharmony_ciattr-context.c:15:46: error: bad constant expression 38f08c3bdfSopenharmony_ciattr-context.c:16:46: error: bad constant expression 39f08c3bdfSopenharmony_ci * check-error-end 40f08c3bdfSopenharmony_ci */ 41