solidity/test/libsolidity/syntaxTests/constantEvaluator/unary_fine.sol

9 lines
131 B
Solidity
Raw Normal View History

2020-11-16 11:19:52 +00:00
contract C {
int8 constant a = -7;
function f() public pure {
uint[-a] memory x;
x[0] = 2;
}
}
// ----