solidity/test/libsolidity/syntaxTests/controlFlow/leave_inside_function.sol
2020-03-09 16:23:10 +01:00

12 lines
259 B
Solidity

contract C {
function f() public pure {
assembly {
function f() {
// Make sure this doesn't trigger the unimplemented assertion in the control flow builder.
leave
}
}
}
}
// ----