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

9 lines
141 B
Solidity

library L {}
contract C {
function f() public {
L[] memory x;
}
}
// ----
// TypeError 1130: (51-52='L'): Invalid use of a library name.