solidity/test/libsolidity/syntaxTests/errors/using.sol
2021-03-30 21:15:18 +02:00

13 lines
282 B
Solidity

error E(uint);
library L {
function f(uint) internal {}
}
contract C {
using L for *;
function f() public pure {
E.f();
}
}
// ----
// TypeError 9582: (133-136): Member "f" not found or not visible after argument-dependent lookup in function (uint256) pure.