solidity/test/libsolidity/syntaxTests/inheritance/reference_non_base_ctor.sol
2022-04-01 23:41:18 -05:00

7 lines
157 B
Solidity

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