aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/scoping_self_use.sol
diff options
context:
space:
mode:
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;
+ }
+}