aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/constructor/external_constructor.sol
blob: 30cf0668c128a3c3754021c2be3454b56c760263 (plain) (blame)
1
2
3
4
5
contract test {
    constructor() external {}
}
// ----
// TypeError: (17-42): Constructor must be public or internal.