solidity/test/libsolidity/semanticTests/array/byte_array_pop_empty_exception.sol

16 lines
249 B
Solidity
Raw Normal View History

contract c {
uint256 a;
uint256 b;
uint256 c;
bytes data;
function test() public returns (bool) {
data.pop();
return true;
}
}
// ====
// compileViaYul: also
// ----
2020-10-13 11:28:39 +00:00
// test() -> FAILURE, hex"4e487b71", 0x31