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

11 lines
223 B
Solidity

library L {
function f() public {}
}
interface I {
using L for int;
function g() external;
}
// ----
// SyntaxError 9088: (60-76='using L for int;'): The "using for" directive is not allowed inside interfaces.