solidity/test/libsolidity/syntaxTests/unchecked/unchecked_function_body.sol
2020-10-19 16:58:59 +02:00

4 lines
143 B
Solidity

function f() pure returns (uint) unchecked {}
// ----
// ParserError 5296: (33-42): "unchecked" blocks can only be used inside regular blocks.