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

6 lines
119 B
Solidity
Raw Normal View History

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