solidity/test/libsolidity/syntaxTests/controlFlow/leave_inside_function.sol
2021-08-17 12:12:56 +02:00

12 lines
259 B
Solidity

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