solidity/test/libsolidity/syntaxTests/arrayLength/can_be_constant_in_function.sol
2018-04-11 18:01:24 +02:00

9 lines
127 B
Solidity

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