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

15 lines
198 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;
}
}
// ----
// test() -> FAILURE