mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
229 B
Solidity
10 lines
229 B
Solidity
|
library L { function l() public {} }
|
||
|
contract test {
|
||
|
function f() public {
|
||
|
L x;
|
||
|
x.l();
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (100-103): Member "l" not found or not visible after argument-dependent lookup in library L
|