-
-
Save koras/63d5af77ca53dceaeacb2e190b2a92eb to your computer and use it in GitHub Desktop.
TEST
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.19; | |
contract TEST { | |
uint data = 1; | |
function start() public | |
{ | |
uint i = 2; | |
f1(i); | |
f2(i); | |
} | |
function f1(uint i) public | |
{ | |
data = i; | |
} | |
function f2(uint i) public view returns(uint) | |
{ | |
require(data == i); | |
return i; | |
} | |
function second(uint i) public view | |
{ | |
f2(i); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment