solidity/test/libsolidity/semanticTests/extracted/array_pop_empty_exception.sol
2020-03-18 11:56:43 -05:00

12 lines
157 B
Solidity

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