aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/scoping_self_use.sol
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-06-15 18:30:28 +0800
committerLeonardo Alt <leo@ethereum.org>2018-06-20 18:53:38 +0800
commit8862b3092bcdbcb8314ec27e2b11bf25fcc6346a (patch)
tree4570b3adc9678c944546144f5989629003422194 /test/libsolidity/syntaxTests/scoping/scoping_self_use.sol
parentba7fbf11e72a4f9da149ac3c9b4c908e4f215250 (diff)
downloaddexon-solidity-8862b3092bcdbcb8314ec27e2b11bf25fcc6346a.tar
dexon-solidity-8862b3092bcdbcb8314ec27e2b11bf25fcc6346a.tar.gz
dexon-solidity-8862b3092bcdbcb8314ec27e2b11bf25fcc6346a.tar.bz2
dexon-solidity-8862b3092bcdbcb8314ec27e2b11bf25fcc6346a.tar.lz
dexon-solidity-8862b3092bcdbcb8314ec27e2b11bf25fcc6346a.tar.xz
dexon-solidity-8862b3092bcdbcb8314ec27e2b11bf25fcc6346a.tar.zst
dexon-solidity-8862b3092bcdbcb8314ec27e2b11bf25fcc6346a.zip
C99 scoping rules by default
Diffstat (limited to 'test/libsolidity/syntaxTests/scoping/scoping_self_use.sol')
-rw-r--r--test/libsolidity/syntaxTests/scoping/scoping_self_use.sol2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/scoping/scoping_self_use.sol b/test/libsolidity/syntaxTests/scoping/scoping_self_use.sol
index 9e2c0171..a5087c57 100644
--- a/test/libsolidity/syntaxTests/scoping/scoping_self_use.sol
+++ b/test/libsolidity/syntaxTests/scoping/scoping_self_use.sol
@@ -3,3 +3,5 @@ contract test {
uint a = a;
}
}
+// ----
+// DeclarationError: (64-65): Undeclared identifier. "a" is not (or not yet) visible at this point.