LLVM GCC did not warn me about duplicate local variable definitions (ex: func () { int i = 0; if (kitty>2) { const int i = 0; } } XCode Pre6
0
0
0
0
0