solidity/test/libsolidity/semanticTests/array/pop/array_pop_empty_exception.sol
2020-11-13 12:32:39 +01:00

13 lines
187 B
Solidity

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