solidity/test/libsolidity/syntaxTests/bound/using_for_library.sol
2022-04-01 23:41:18 -05:00

12 lines
295 B
Solidity

library L {}
library M {}
contract C {
using L for M;
using M for L;
using L for L;
}
// ----
// TypeError 1130: (55-56='M'): Invalid use of a library name.
// TypeError 1130: (74-75='L'): Invalid use of a library name.
// TypeError 1130: (93-94='L'): Invalid use of a library name.