solidity/test/libsolidity/ASTJSON/documentation_on_statements.sol
2021-02-09 17:33:01 +01:00

17 lines
340 B
Solidity

contract C {
// this is not exported
uint a;
function f() public pure returns (uint x) {
// test2
for (uint i = 0; i < 20; i++) {
// not exported either
x *= 2;
}
// nor is this because they are all
// not using the triple-slash
return x;
}
}
// ----