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