mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
355 B
Solidity
12 lines
355 B
Solidity
contract C {
|
|
function g() public returns (uint) {
|
|
try this.g() returns (uint x) { x; }
|
|
catch Error(string memory s) { s; }
|
|
}
|
|
}
|
|
// ====
|
|
// EVMVersion: >=byzantium
|
|
// SMTEngine: all
|
|
// ----
|
|
// Warning 6321: (43-47): Unnamed return variable can remain unassigned. Add an explicit return with value to all non-reverting code paths or name the variable.
|