aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/scoping_old.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-16 07:47:12 +0800
committerchriseth <chris@ethereum.org>2018-03-16 07:47:32 +0800
commitc9db105ad7c8cb4913d0e0ed859ce4808aae288a (patch)
treecd36eb0ec7092842ef4c7a7b260c71c3884fd780 /test/libsolidity/syntaxTests/scoping/scoping_old.sol
parent658955579050c51cc9a714adc5986212796f8196 (diff)
downloaddexon-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.sol6
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;
+ }
+}