solidity/test/libsolidity/lsp/didOpen_with_import.sol
2022-05-09 14:54:55 +02:00

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
}
}