solidity/test/libsolidity/syntaxTests/bytecodeReferences/library_public_called.sol
2021-04-06 16:25:02 +02:00

11 lines
172 B
Solidity

library L1 {
function foo() internal { new A(); }
}
library L2 {
function foo() public { L1.foo(); }
}
contract A {
function f() public { L2.foo(); }
}
// ----