1 2 3 4 5 6 7 8 9 10 11 12
contract C { function f() public pure { uint a = 0; while (a < 100) { a++; break; a--; } } } // ---- // Warning: (138-141): Unreachable code.