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

6 lines
114 B
Solidity

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