mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
32 lines
639 B
Solidity
32 lines
639 B
Solidity
==== Source: A.sol ====
|
|
function s(uint, uint) pure suffix returns (uint) {}
|
|
|
|
function f(uint, uint) pure returns (uint) {}
|
|
|
|
==== Source: B.sol ====
|
|
import "A.sol";
|
|
|
|
function s(string memory) pure returns (string memory) {}
|
|
|
|
function f(string memory) pure suffix returns (string memory) {}
|
|
|
|
contract C {
|
|
function run() public pure {
|
|
1024 s;
|
|
"a" f;
|
|
}
|
|
}
|
|
==== Source: C.sol ====
|
|
import {s, f} from "A.sol";
|
|
|
|
function s(string memory) pure returns (string memory) {}
|
|
|
|
function f(string memory) pure suffix returns (string memory) {}
|
|
|
|
contract D {
|
|
function run() public pure {
|
|
1024 s;
|
|
"a" f;
|
|
}
|
|
}
|