solidity/test/libsolidity/syntaxTests/array/library_array.sol
2020-10-16 18:25:08 +02:00

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.