solidity/test/libsolidity/syntaxTests/inheritance/reference_non_base_ctor.sol

7 lines
150 B
Solidity
Raw Normal View History

contract X {}
contract D {
2020-06-23 12:14:24 +00:00
constructor() X(5) {}
}
// ----
// TypeError 4659: (45-49): Referenced declaration is neither modifier nor base class.