lotus/itests/contracts/StackFunc.sol

12 lines
205 B
Solidity
Raw Permalink Normal View History

2023-01-17 16:38:40 +00:00
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
contract StackSelf {
function exec1(uint256 n) public payable {
if(n == 0) {
return;
}
exec1(n-1);
}
}