solidity/test/libsolidity/syntaxTests/constructor/constructor_virtual.sol
2020-04-15 13:58:37 +02:00

6 lines
114 B
Solidity

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