int foo( int bar ) { int bar = 0; return bar; } int main() { return foo(1); }
Standard input is empty
prog.c: In function ‘foo’: prog.c:3: error: ‘bar’ redeclared as different kind of symbol prog.c:1: error: previous definition of ‘bar’ was here
Standard output is empty