solidity/test/libsolidity/syntaxTests/using/module_identifier_not_found.sol

14 lines
240 B
Solidity
Raw Normal View History

2021-10-11 08:16:52 +00:00
==== Source: A ====
function id(uint x) pure returns (uint) {
return x;
}
==== Source: B ====
import "A" as M;
contract C {
using { id } for uint;
}
// ----
// DeclarationError 7920: (B:43-45): Identifier not found or not unique.