From 98d52beba3f989b3a5eeaba2d257de8de5df60a7 Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Wed, 16 May 2018 17:18:30 +0200 Subject: Adds syntax tests, documentation and changelog entry. Refines comment for array utility function. --- test/libsolidity/syntaxTests/arrayLength/pure_functions.sol | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 test/libsolidity/syntaxTests/arrayLength/pure_functions.sol (limited to 'test/libsolidity/syntaxTests/arrayLength/pure_functions.sol') diff --git a/test/libsolidity/syntaxTests/arrayLength/pure_functions.sol b/test/libsolidity/syntaxTests/arrayLength/pure_functions.sol deleted file mode 100644 index b620db76..00000000 --- a/test/libsolidity/syntaxTests/arrayLength/pure_functions.sol +++ /dev/null @@ -1,6 +0,0 @@ -contract C { - uint constant LEN = keccak256(ripemd160(33)); - uint[LEN] ids; -} -// ---- -// TypeError: (72-75): Invalid array length, expected integer literal or constant expression. -- cgit v1.2.3