add visibility

pull/355/head
agroce 5 years ago
parent 817b523cf8
commit 357297e83a
  1. 6
      examples/solidity/basic/gasuse.sol

@ -23,11 +23,11 @@ contract C {
open2 = false;
}
function push_b(uint256 n) {
function push_b(uint256 n) public {
b.push(n);
}
function g(uint256 n) {
function g(uint256 n) public {
if (open1 && open2) {
if (n < 500) {
for (uint256 i = 0; i < n; i++) {
@ -41,7 +41,7 @@ contract C {
}
}
function echidna_true() returns (bool) {
function echidna_true() public returns (bool) {
return true;
}

Loading…
Cancel
Save