solidity/test/libsolidity/syntaxTests/constructor/library_constructor_new.sol
2018-04-18 14:24:35 +02:00

7 lines
175 B
Solidity

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