solidity/test/libsolidity/syntaxTests/constructor/constructor_without_implementation_new.sol
2018-04-18 14:24:35 +02:00

6 lines
107 B
Solidity

contract C {
constructor();
}
// ----
// TypeError: (14-28): Constructor must be implemented if declared.