aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/array/length/parentheses.sol
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-09-22 06:18:22 +0800
committerErik Kundt <bitshift@posteo.org>2018-09-22 06:25:52 +0800
commitd821cbdff5a483b3f7a7bd07758bf5e11a7cd762 (patch)
tree8e6a7c5c5da3d62c811f432f0c6fb6fa0b5728e9 /test/libsolidity/syntaxTests/array/length/parentheses.sol
parentff5be1799088ca51fb51e9c86031bd2d88fe3bce (diff)
downloaddexon-solidity-d821cbdff5a483b3f7a7bd07758bf5e11a7cd762.tar.gz
dexon-solidity-d821cbdff5a483b3f7a7bd07758bf5e11a7cd762.tar.zst
dexon-solidity-d821cbdff5a483b3f7a7bd07758bf5e11a7cd762.zip
Moves length check to reference resolver.
Diffstat (limited to 'test/libsolidity/syntaxTests/array/length/parentheses.sol')
-rw-r--r--test/libsolidity/syntaxTests/array/length/parentheses.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/array/length/parentheses.sol b/test/libsolidity/syntaxTests/array/length/parentheses.sol
index 40f55ad6..8dbcc0a4 100644
--- a/test/libsolidity/syntaxTests/array/length/parentheses.sol
+++ b/test/libsolidity/syntaxTests/array/length/parentheses.sol
@@ -21,5 +21,5 @@ contract C {
uint[((2) + 1) + 1] a12;
uint[(2 + 1) + ((1))] a13;
uint[(((2) + 1)) + (((1)))] a14;
- uint[((((2) + 1)) + (((1))))%1] a15;
+ uint[((((3) + 1)) + (((1))))%2] a15;
}