mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
373 B
Solidity
11 lines
373 B
Solidity
contract test {
|
|
function f() public {
|
|
address(0x12).call.value(2)("abc");
|
|
address(0x12).call{value: 2}("abc");
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 1621: (50-74): Using ".value(...)" is deprecated. Use "{value: ...}" instead.
|
|
// Warning 9302: (50-84): Return value of low-level calls not used.
|
|
// Warning 9302: (94-129): Return value of low-level calls not used.
|