mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
246 B
Solidity
14 lines
246 B
Solidity
// SPDX-License-Identifier: UNLICENSED
|
|
pragma solidity >=0.8.0;
|
|
|
|
import './goto/lib.sol';
|
|
|
|
contract C
|
|
{
|
|
function f(uint a, uint b) public pure returns (uint)
|
|
{
|
|
return Lib.add(2 * a, b);
|
|
// ^^^^^^^ @diagnostics
|
|
}
|
|
}
|