mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
617 B
Solidity
15 lines
617 B
Solidity
pragma experimental SMTChecker;
|
|
contract C {
|
|
function f(function(uint) external payable g) internal {
|
|
g.selector;
|
|
g.gas(2).value(3)(4);
|
|
g{gas: 2, value: 3}(4);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (122-127): Using ".gas(...)" is deprecated. Use "{gas: ...}" instead.
|
|
// Warning: (122-136): Using ".value(...)" is deprecated. Use "{value: ...}" instead.
|
|
// Warning: (108-118): Assertion checker does not yet support this expression.
|
|
// Warning: (122-130): Assertion checker does not yet implement this type of function call.
|
|
// Warning: (122-139): Assertion checker does not yet implement this type of function call.
|