mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
245 B
Solidity
12 lines
245 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): Statement has no effect.
|