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

12 lines
157 B
Solidity
Raw Normal View History

contract c {
uint256[] data;
function test() public returns (bool) {
data.pop();
return true;
}
}
// ----
// test() -> FAILURE