aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/scoping_self_use.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_self_use.sol
parent658955579050c51cc9a714adc5986212796f8196 (diff)
downloaddexon-solidity-c9db105ad7c8cb4913d0e0ed859ce4808aae288a.tar
dexon-solidity-c9db105ad7c8cb4913d0e0ed859ce4808aae288a.tar.gz
dexon-solidity-c9db105ad7c8cb4913d0e0ed859ce4808aae288a.tar.bz2
dexon-solidity-c9db105ad7c8cb4913d0e0ed859ce4808aae288a.tar.lz
dexon-solidity-c9db105ad7c8cb4913d0e0ed859ce4808aae288a.tar.xz
dexon-solidity-c9db105ad7c8cb4913d0e0ed859ce4808aae288a.tar.zst
dexon-solidity-c9db105ad7c8cb4913d0e0ed859ce4808aae288a.zip
Extract scoping tests.
Diffstat (limited to 'test/libsolidity/syntaxTests/scoping/scoping_self_use.sol')
-rw-r--r--test/libsolidity/syntaxTests/scoping/scoping_self_use.sol5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/scoping/scoping_self_use.sol b/test/libsolidity/syntaxTests/scoping/scoping_self_use.sol
new file mode 100644
index 00000000..9e2c0171
--- /dev/null
+++ b/test/libsolidity/syntaxTests/scoping/scoping_self_use.sol
@@ -0,0 +1,5 @@
+contract test {
+ function f() pure public {
+ uint a = a;
+ }
+}