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