solidity/test/libsolidity/lsp/didOpen_with_import.sol

14 lines
246 B
Solidity
Raw Normal View History

// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0;
2022-04-27 13:22:26 +00:00
import './goto/lib.sol';
contract C
{
function f(uint a, uint b) public pure returns (uint)
{
return Lib.add(2 * a, b);
// ^^^^^^^ @diagnostics
}
}