aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/constructor/library_constructor.sol
blob: 38934f8d16627fd5eebd8afc6a966f92f67bfaef (plain) (blame)
1
2
3
4
5
6
library Lib {
    constructor() public;
}
// ----
// TypeError: (15-36): Constructor cannot be defined in libraries.
// TypeError: (15-36): Constructor must be implemented if declared.