mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
283 B
Solidity
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.
|