aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/arrayLength/cyclic_constant.sol
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-05-16 23:18:30 +0800
committerErik Kundt <bitshift@posteo.org>2018-05-30 23:43:20 +0800
commit98d52beba3f989b3a5eeaba2d257de8de5df60a7 (patch)
tree32b6d25005a1e6585fac536a7d58660aadd6cc5c /test/libsolidity/syntaxTests/arrayLength/cyclic_constant.sol
parent34b5eca1f8d9a8f04db20139601c6e944532f4e4 (diff)
downloaddexon-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/cyclic_constant.sol')
-rw-r--r--test/libsolidity/syntaxTests/arrayLength/cyclic_constant.sol8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/libsolidity/syntaxTests/arrayLength/cyclic_constant.sol b/test/libsolidity/syntaxTests/arrayLength/cyclic_constant.sol
deleted file mode 100644
index 91ba9045..00000000
--- a/test/libsolidity/syntaxTests/arrayLength/cyclic_constant.sol
+++ /dev/null
@@ -1,8 +0,0 @@
-contract C {
- uint constant LEN = LEN;
- function f() {
- uint[LEN] a;
- }
-}
-// ----
-// TypeError: (37-40): Cyclic constant definition (or maximum recursion depth exhausted).