solidity/test/libsolidity/smtCheckerTests/operators/fixed_point_compound_add.sol
2021-10-06 13:55:38 +02:00

9 lines
195 B
Solidity

contract C {
fixed[] b;
function f() internal { b[0] += 1; }
}
// ====
// SMTEngine: all
// ----
// TypeError 7366: (52-61): Operator += not compatible with types fixed128x18 and int_const 1