mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
353 B
Solidity
15 lines
353 B
Solidity
==== Source: A.sol ====
|
|
function s(uint, uint) pure suffix returns (uint) {}
|
|
==== Source: B.sol ====
|
|
import {s} from "A.sol";
|
|
|
|
function s(string memory) pure returns (string memory) {}
|
|
|
|
contract C {
|
|
function run() public pure {
|
|
1024 s;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 2144: (B.sol:144-145): No matching declaration found after variable lookup.
|