mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
5 lines
232 B
Solidity
5 lines
232 B
Solidity
library L{ constructor() { L.x; } }
|
|
// ----
|
|
// TypeError 7634: (11-33): Constructor cannot be defined in libraries.
|
|
// TypeError 9582: (27-30): Member "x" not found or not visible after argument-dependent lookup in type(library L).
|