solidity/test/libsolidity/syntaxTests/constructor/constructor_override.sol

6 lines
118 B
Solidity
Raw Normal View History

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