The problem to be solved by the present invention is to provide: a novel compound which has an EGFR-inhibiting activity and also has a cell proliferation-inhibiting effect; and a medicine which has an EGFR-inhibiting activity and is therefore useful for the prevention and/or treatment of cancer.The present invention provides a compound represented by general formula (I) or a salt thereof.