solidity/test/libsolidity/syntaxTests/constantEvaluator/unary_fine.sol
2020-12-04 15:14:25 +01:00

9 lines
131 B
Solidity

contract C {
int8 constant a = -7;
function f() public pure {
uint[-a] memory x;
x[0] = 2;
}
}
// ----