solidity/test/libsolidity/semanticTests/array/byte_array_pop_empty_exception.sol
2020-05-19 14:47:00 +02:00

16 lines
228 B
Solidity

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