1 2 3 4 5 6 7
contract C { function f() pure public { throw; } } // ---- // SyntaxError: (52-57): "throw" is deprecated in favour of "revert()", "require()" and "assert()".