solidity/test/libsolidity/semanticTests/array/array_pop_empty_exception.sol
2020-03-19 14:42:25 +01:00

12 lines
157 B
Solidity

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