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

9 lines
148 B
Solidity

library L {}
contract C {
function f() public pure {
new L[](2);
}
}
// ----
// TypeError 1130: (63-64='L'): Invalid use of a library name.