diff options
Diffstat (limited to 'test/libsolidity/syntaxTests/scoping/scoping_old.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/scoping/scoping_old.sol | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/scoping/scoping_old.sol b/test/libsolidity/syntaxTests/scoping/scoping_old.sol index 83f6b60b..70e5ee0c 100644 --- a/test/libsolidity/syntaxTests/scoping/scoping_old.sol +++ b/test/libsolidity/syntaxTests/scoping/scoping_old.sol @@ -4,3 +4,5 @@ contract test { uint256 x = 2; } } +// ---- +// DeclarationError: (55-56): Undeclared identifier. "x" is not (or not yet) visible at this point. |