solidity/test/libsolidity/syntaxTests/bytecodeReferences/library_public_called.sol

11 lines
172 B
Solidity
Raw Normal View History

2021-04-06 14:25:02 +00:00
library L1 {
function foo() internal { new A(); }
}
library L2 {
function foo() public { L1.foo(); }
}
contract A {
function f() public { L2.foo(); }
}
// ----