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

13 lines
208 B
Solidity
Raw Normal View History

contract c {
uint256[] 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