solidity/test/libsolidity/syntaxTests/inheritance/reference_non_base_ctor.sol
2020-07-07 12:16:18 +02:00

7 lines
150 B
Solidity

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