solidity/test/libsolidity/syntaxTests/array/length/can_be_constant_in_function.sol
Erik Kundt 98d52beba3 Adds syntax tests, documentation and changelog entry.
Refines comment for array utility function.
2018-05-30 17:43:20 +02:00

9 lines
127 B
Solidity

contract C {
uint constant LEN = 10;
function f() public pure {
uint[LEN] memory a;
a;
}
}
// ----