solidity/test/libsolidity/syntaxTests/inheritance/reference_non_base_ctor.sol
2019-02-06 20:45:30 +01:00

7 lines
152 B
Solidity

contract X {}
contract D {
constructor() X(5) public {}
}
// ----
// TypeError: (45-49): Referenced declaration is neither modifier nor base class.