solidity/test/libsolidity/syntaxTests/constructor/constructor_override.sol
2020-04-15 13:58:37 +02:00

6 lines
113 B
Solidity

contract C {
constructor() override public {}
}
// ----
// TypeError: (17-49): Constructors cannot override.