solidity/test/libsolidity/syntaxTests/tryCatch/almost_call_options.sol
2020-01-23 21:20:01 +01:00

15 lines
283 B
Solidity

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.