solidity/test/libsolidity/semanticTests/array/pop/array_pop_empty_exception.sol

14 lines
232 B
Solidity
Raw Normal View History

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