void main() { bool b; if (b) { int i = 1; i++; } i++; // i is not declared in this scope }