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

6 lines
112 B
Solidity

contract C {
constructor() virtual {}
}
// ----
// TypeError 7001: (17-41): Constructors cannot be virtual.