solidity/test/libsolidity/semanticTests/array/pop/parenthesized.sol
2021-02-23 14:26:55 +01:00

13 lines
183 B
Solidity

contract C {
int[] data;
function f() public returns (uint) {
data.push(1);
(data.pop)();
return data.length;
}
}
// ====
// compileViaYul: also
// ----
// f() -> 0