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

6 lines
111 B
Solidity
Raw Normal View History

contract C {
2020-06-23 12:14:24 +00:00
constructor() override {}
}
// ----
2020-06-23 12:14:24 +00:00
// TypeError 1209: (17-42): Constructors cannot override.