solidity/test/libsolidity/syntaxTests/tryCatch/almost_call_options.sol

15 lines
283 B
Solidity
Raw Normal View History

contract C {
struct gas { uint a; }
function f() public returns (uint, uint) {
try this.f() {
gas memory x;
} catch Error(string memory) {
}
}
}
// ====
// EVMVersion: >=byzantium
// ----
// Warning: (122-134): Unused local variable.