solidity/test/libsolidity/semanticTests/array/byte_array_pop_empty_exception.sol
2020-10-22 19:25:55 +02:00

16 lines
249 B
Solidity

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