mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
21 lines
297 B
Solidity
21 lines
297 B
Solidity
|
contract test {
|
||
|
function mul(uint a) public returns (uint d) {
|
||
|
return a * 7;
|
||
|
}
|
||
|
function sub(int input) public returns (int d) {
|
||
|
return input - 3;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// ----
|
||
|
// ----
|
||
|
// :test devdoc
|
||
|
// {
|
||
|
// "methods": {}
|
||
|
// }
|
||
|
//
|
||
|
// :test userdoc
|
||
|
// {
|
||
|
// "methods": {}
|
||
|
// }
|