1f08c3bdfSopenharmony_citypedef int T; 2f08c3bdfSopenharmony_ciextern void f1(int); 3f08c3bdfSopenharmony_ciextern void f2(T); 4f08c3bdfSopenharmony_cistatic void (*f3)(int) = f2; 5f08c3bdfSopenharmony_cistatic void (*f4)(T) = f1; 6f08c3bdfSopenharmony_ciextern void f5(void (int)); 7f08c3bdfSopenharmony_ciextern void f6(void (T)); 8f08c3bdfSopenharmony_cistatic void z(int x) 9f08c3bdfSopenharmony_ci{ 10f08c3bdfSopenharmony_ci int (T) = x; 11f08c3bdfSopenharmony_ci f5(f2); 12f08c3bdfSopenharmony_ci f6(f3); 13f08c3bdfSopenharmony_ci} 14f08c3bdfSopenharmony_cistatic void f8(); 15f08c3bdfSopenharmony_cistatic int (x) = 1; 16f08c3bdfSopenharmony_cistatic void w1(y) 17f08c3bdfSopenharmony_ciint y; 18f08c3bdfSopenharmony_ci{ 19f08c3bdfSopenharmony_ci x = y; 20f08c3bdfSopenharmony_ci} 21f08c3bdfSopenharmony_cistatic void w2(int ()); 22f08c3bdfSopenharmony_cistatic void w3(...); 23f08c3bdfSopenharmony_cistatic void f9(__attribute__((mode(DI))) T); 24f08c3bdfSopenharmony_cistatic void w4(int f(x,y)); 25f08c3bdfSopenharmony_cistatic void bad1(__attribute__((mode(DI))) x); 26f08c3bdfSopenharmony_cistatic int (-bad2); 27f08c3bdfSopenharmony_cistatic void [2](*bad3); 28f08c3bdfSopenharmony_ci/* 29f08c3bdfSopenharmony_ci * check-name: more on handling of ( in direct-declarator 30f08c3bdfSopenharmony_ci * check-error-start 31f08c3bdfSopenharmony_cinested-declarator2.c:17:1: warning: non-ANSI definition of function 'w1' 32f08c3bdfSopenharmony_cinested-declarator2.c:21:21: warning: non-ANSI function declaration of function '<noident>' 33f08c3bdfSopenharmony_cinested-declarator2.c:22:16: warning: variadic functions must have one named argument 34f08c3bdfSopenharmony_cinested-declarator2.c:24:21: warning: identifier list not in definition 35f08c3bdfSopenharmony_cinested-declarator2.c:25:45: error: don't know how to apply mode to incomplete type 36f08c3bdfSopenharmony_cinested-declarator2.c:26:13: error: Expected ) in nested declarator 37f08c3bdfSopenharmony_cinested-declarator2.c:26:13: error: got - 38f08c3bdfSopenharmony_cinested-declarator2.c:27:16: error: Expected ; at the end of type declaration 39f08c3bdfSopenharmony_cinested-declarator2.c:27:16: error: got ( 40f08c3bdfSopenharmony_ci * check-error-end 41f08c3bdfSopenharmony_ci */ 42