// Test for message: nested 'extern' declaration of '%s' [352]
/*
* C allows to declare external functions or objects inside function bodies,
* which invites inconsistent types.
*
* Instead, any external functions or objects should be declared in headers.
*/
/* lint1-extra-flags: -X 351 */
int
function(void)
{
/* expect+1: warning: nested 'extern' declaration of 'external_func' [352] */
extern int external_func(void);
/* expect+1: warning: nested 'extern' declaration of 'external_var' [352] */
extern int external_var;