/src/tests/usr.bin/xlint/lint1/ |
msg_261.c | 8 /* expect+2: previous definition of 'function' [261] */ 10 function(void) function in typeref:typename:void 14 /* expect+2: error: redeclaration of 'function' with type 'function(void) returning int', expected 'function(void) returning void' [347] */ 15 /* expect+1: warning: static function 'function' declared but not defined [290] */ 16 static int function(void);
|
msg_261.c | 8 /* expect+2: previous definition of 'function' [261] */ 10 function(void) function in typeref:typename:void 14 /* expect+2: error: redeclaration of 'function' with type 'function(void) returning int', expected 'function(void) returning void' [347] */ 15 /* expect+1: warning: static function 'function' declared but not defined [290] */ 16 static int function(void);
|
msg_261.c | 8 /* expect+2: previous definition of 'function' [261] */ 10 function(void) function in typeref:typename:void 14 /* expect+2: error: redeclaration of 'function' with type 'function(void) returning int', expected 'function(void) returning void' [347] */ 15 /* expect+1: warning: static function 'function' declared but not defined [290] */ 16 static int function(void);
|
msg_029.c | 8 extern int function(void); 10 static int function(void) function in typeref:typename:int 11 /* expect+1: warning: 'function' was previously declared extern, becomes static [29] */ 13 return function();
|
msg_029.c | 8 extern int function(void); 10 static int function(void) function in typeref:typename:int 11 /* expect+1: warning: 'function' was previously declared extern, becomes static [29] */ 13 return function();
|
msg_029.c | 8 extern int function(void); 10 static int function(void) function in typeref:typename:int 11 /* expect+1: warning: 'function' was previously declared extern, becomes static [29] */ 13 return function();
|
msg_064.c | 4 // Test for message: ()-less function definition [64] 6 typedef int (function)(void); typedef in typeref:typename:int ()(void) 9 * Even though typedef_function has type function, this construction is not 10 * allowed. A function definition must always look like a function 13 function typedef_function { 14 /* expect-1: error: ()-less function definition [64] */
|
msg_016.c | 4 // Test for message: array of function is invalid [16] 8 typedef void function(void); 10 /* expect+1: error: array of function is invalid [16] */ 11 function functions[] = { 13 * XXX: The below warning should not assume that function is an
|
msg_064.c | 4 // Test for message: ()-less function definition [64] 6 typedef int (function)(void); typedef in typeref:typename:int ()(void) 9 * Even though typedef_function has type function, this construction is not 10 * allowed. A function definition must always look like a function 13 function typedef_function { 14 /* expect-1: error: ()-less function definition [64] */
|
msg_016.c | 4 // Test for message: array of function is invalid [16] 8 typedef void function(void); 10 /* expect+1: error: array of function is invalid [16] */ 11 function functions[] = { 13 * XXX: The below warning should not assume that function is an
|
msg_064.c | 4 // Test for message: ()-less function definition [64] 6 typedef int (function)(void); typedef in typeref:typename:int ()(void) 9 * Even though typedef_function has type function, this construction is not 10 * allowed. A function definition must always look like a function 13 function typedef_function { 14 /* expect-1: error: ()-less function definition [64] */
|
msg_016.c | 4 // Test for message: array of function is invalid [16] 8 typedef void function(void); 10 /* expect+1: error: array of function is invalid [16] */ 11 function functions[] = { 13 * XXX: The below warning should not assume that function is an
|
msg_317.c | 9 function(void) function in typeref:typename:const char *
|
msg_317.c | 9 function(void) function in typeref:typename:const char *
|
msg_317.c | 9 function(void) function in typeref:typename:const char *
|
msg_050.c | 4 /* Test for message: parameter '%s' has function type, should be pointer [50] */ 8 typedef void (function)(); typedef in typeref:typename:void ()() 10 /* expect+1: warning: parameter 'f' unused in function 'example' [231] */ 12 /* expect+1: warning: parameter 'f' has function type, should be pointer [50] */ 13 function f;
|
msg_024.c | 4 // Test for message: cannot initialize function '%s' [24] 8 typedef void (function)(void); typedef in typeref:typename:void ()(void) 15 /* expect+3: error: cannot initialize function 'fn' [24] */ 17 /* expect+1: error: {}-enclosed or constant initializer of type 'function(void) returning void' required [181] */ 18 function fn = definition;
|
msg_038.c | 4 // Test for message: function invalid in structure or union [38] 8 typedef void (function)(void); typedef in typeref:typename:void ()(void) 11 /* expect+1: error: function invalid in structure or union [38] */ 12 function fn;
|
msg_050.c | 4 /* Test for message: parameter '%s' has function type, should be pointer [50] */ 8 typedef void (function)(); typedef in typeref:typename:void ()() 10 /* expect+1: warning: parameter 'f' unused in function 'example' [231] */ 12 /* expect+1: warning: parameter 'f' has function type, should be pointer [50] */ 13 function f;
|
msg_024.c | 4 // Test for message: cannot initialize function '%s' [24] 8 typedef void (function)(void); typedef in typeref:typename:void ()(void) 15 /* expect+3: error: cannot initialize function 'fn' [24] */ 17 /* expect+1: error: {}-enclosed or constant initializer of type 'function(void) returning void' required [181] */ 18 function fn = definition;
|
msg_038.c | 4 // Test for message: function invalid in structure or union [38] 8 typedef void (function)(void); typedef in typeref:typename:void ()(void) 11 /* expect+1: error: function invalid in structure or union [38] */ 12 function fn;
|
msg_050.c | 4 /* Test for message: parameter '%s' has function type, should be pointer [50] */ 8 typedef void (function)(); typedef in typeref:typename:void ()() 10 /* expect+1: warning: parameter 'f' unused in function 'example' [231] */ 12 /* expect+1: warning: parameter 'f' has function type, should be pointer [50] */ 13 function f;
|
/src/tests/usr.bin/indent/ |
fmt_block.c | 13 function(void) function in typeref:typename:void 38 function(void) function in typeref:typename:void 46 function(void) function in typeref:typename:void
|
fmt_block.c | 13 function(void) function in typeref:typename:void 38 function(void) function in typeref:typename:void 46 function(void) function in typeref:typename:void
|
fmt_block.c | 13 function(void) function in typeref:typename:void 38 function(void) function in typeref:typename:void 46 function(void) function in typeref:typename:void
|