diff options
author | chriseth <chris@ethereum.org> | 2018-03-16 07:47:12 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-03-16 07:47:32 +0800 |
commit | c9db105ad7c8cb4913d0e0ed859ce4808aae288a (patch) | |
tree | cd36eb0ec7092842ef4c7a7b260c71c3884fd780 /test/libsolidity/syntaxTests/scoping/scoping_old.sol | |
parent | 658955579050c51cc9a714adc5986212796f8196 (diff) | |
download | dexon-solidity-c9db105ad7c8cb4913d0e0ed859ce4808aae288a.tar.gz dexon-solidity-c9db105ad7c8cb4913d0e0ed859ce4808aae288a.tar.zst dexon-solidity-c9db105ad7c8cb4913d0e0ed859ce4808aae288a.zip |
Extract scoping tests.
Diffstat (limited to 'test/libsolidity/syntaxTests/scoping/scoping_old.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/scoping/scoping_old.sol | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/scoping/scoping_old.sol b/test/libsolidity/syntaxTests/scoping/scoping_old.sol new file mode 100644 index 00000000..83f6b60b --- /dev/null +++ b/test/libsolidity/syntaxTests/scoping/scoping_old.sol @@ -0,0 +1,6 @@ +contract test { + function f() pure public { + x = 4; + uint256 x = 2; + } +} |