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

9 lines
137 B
Solidity

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