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

12 lines
269 B
Solidity

library L1 {
function foo() internal { new A(); }
}
library L2 {
function foo() internal { L1.foo(); }
}
contract A {
function f() public pure { type(L2).creationCode; }
}
// ----
// Warning 6133: (157-178='type(L2).creationCode'): Statement has no effect.