solidity/test/libsolidity/syntaxTests/controlFlow/leave_inside_function.sol

12 lines
259 B
Solidity
Raw Normal View History

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