solidity/test/libsolidity/smtCheckerTests/out_of_bounds/fixed_bytes_4.sol
2023-03-09 14:59:32 +01:00

13 lines
441 B
Solidity

contract C {
function r(bytes32 x, uint y) public pure {
x[0]; // safe access
// Disabled because of Spacer nondeterminism.
//x[y]; // oob access
}
}
// ====
// SMTEngine: all
// ----
// Warning 5667: (36-42): Unused function parameter. Remove or comment out the variable name to silence this warning.
// Info 1391: CHC: 1 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.