solidity/test/libsolidity/syntaxTests/constructor/library_constructor.sol
2020-07-07 12:16:18 +02:00

7 lines
185 B
Solidity

library Lib {
constructor();
}
// ----
// TypeError 7634: (15-29): Constructor cannot be defined in libraries.
// TypeError 5700: (15-29): Constructor must be implemented if declared.