Export statement documentation.

This commit is contained in:
chriseth
2021-02-09 17:33:01 +01:00
parent ec62d12319
commit fcdb5e0b40
8 changed files with 1298 additions and 0 deletions
@@ -0,0 +1,16 @@
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;
}
}
// ----