Created
August 5, 2019 15:30
-
-
Save qianbin/0fd5f468c4ff41d120dbe4d47eae9228 to your computer and use it in GitHub Desktop.
contract lost
This file contains 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.23; | |
contract Surprise { | |
address public owner; | |
function whatWillHappen() public { | |
// defaults to 'storage' type, and points to `owner`. | |
uint8[20] x; | |
// will mamuplate value of `owner` | |
x[0]++; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment