mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
347 B
Solidity
15 lines
347 B
Solidity
pragma experimental SMTChecker;
|
|
contract C {
|
|
function g() internal pure returns (uint, uint) {
|
|
return (2, 3);
|
|
}
|
|
function f() public {
|
|
(address(1).call(""));
|
|
(uint x, uint y) = ((g()));
|
|
assert(x == 2);
|
|
assert(y == 3);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 5084: (142-152): Type conversion is not yet fully supported and might yield false positives.
|