mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
144 B
Solidity
9 lines
144 B
Solidity
|
library L {}
|
||
|
contract C {
|
||
|
function f() public pure {
|
||
|
new L[](2);
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError 1130: (63-64): Invalid use of a library name.
|