diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-05-16 23:18:30 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-05-30 23:43:20 +0800 |
commit | 98d52beba3f989b3a5eeaba2d257de8de5df60a7 (patch) | |
tree | 32b6d25005a1e6585fac536a7d58660aadd6cc5c /test/libsolidity/syntaxTests/arrayLength/parentheses.sol | |
parent | 34b5eca1f8d9a8f04db20139601c6e944532f4e4 (diff) | |
download | dexon-solidity-98d52beba3f989b3a5eeaba2d257de8de5df60a7.tar dexon-solidity-98d52beba3f989b3a5eeaba2d257de8de5df60a7.tar.gz dexon-solidity-98d52beba3f989b3a5eeaba2d257de8de5df60a7.tar.bz2 dexon-solidity-98d52beba3f989b3a5eeaba2d257de8de5df60a7.tar.lz dexon-solidity-98d52beba3f989b3a5eeaba2d257de8de5df60a7.tar.xz dexon-solidity-98d52beba3f989b3a5eeaba2d257de8de5df60a7.tar.zst dexon-solidity-98d52beba3f989b3a5eeaba2d257de8de5df60a7.zip |
Adds syntax tests, documentation and changelog entry.
Refines comment for array utility function.
Diffstat (limited to 'test/libsolidity/syntaxTests/arrayLength/parentheses.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/arrayLength/parentheses.sol | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/libsolidity/syntaxTests/arrayLength/parentheses.sol b/test/libsolidity/syntaxTests/arrayLength/parentheses.sol deleted file mode 100644 index 40f55ad6..00000000 --- a/test/libsolidity/syntaxTests/arrayLength/parentheses.sol +++ /dev/null @@ -1,25 +0,0 @@ -contract C { - uint constant L1 = (2); - uint constant L2 = ((2)); - uint constant L3 = ((((2)))); - uint constant L4 = (2 + 1); - uint constant L5 = ((2 + 1)); - uint constant L6 = (((2) + ((1)))); - uint constant L7 = (2 + 1) / 1; - uint constant L8 = (2 + ((1))) / (1); - uint[L1] a1; - uint[L2] a2; - uint[L3] a3; - uint[L4] a4; - uint[L5] a5; - uint[L6] a6; - uint[L7] a7; - uint[L8] a8; - uint[(2)] a9; - uint[(2 + 1)] a10; - uint[(2 + 1) + 1] a11; - uint[((2) + 1) + 1] a12; - uint[(2 + 1) + ((1))] a13; - uint[(((2) + 1)) + (((1)))] a14; - uint[((((2) + 1)) + (((1))))%1] a15; -} |