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

7 lines
186 B
Solidity

interface I {
constructor();
}
// ----
// TypeError 6482: (15-29): Constructor cannot be defined in interfaces.
// TypeError 5700: (15-29): Constructor must be implemented if declared.