solidity/test/libsolidity/syntaxTests/constructor/library_constructor.sol
2022-04-01 23:41:18 -05:00

7 lines
219 B
Solidity

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