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

16 lines
228 B
Solidity
Raw Normal View History

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