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

6 lines
111 B
Solidity

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