Provided is a compound which has tyrosine kinase inhibitory activity specific against C797S mutation-type resistant EGFR (particularly, C797S mutation-type tertiary resistant EGFR), and is useful as a C797S mutation-type resistant EGFR (particularly, C797S mutation-type tertiary resistant EGFR)-specific tyrosine kinase inhibitor, a prophylactic and/or therapeutic agent for non-small cell lung cancer or the like having resistant mutant EGFR. The present invention is a compound represented by formula (I) [in the formula, X represents O or NH, R1 and R2 each independently represent a hydrogen atom or an optionally substituted hydrocarbon group, R3 and R4 each independently represent a hydrogen atom, a halogen atom, or an optionally substituted hydrocarbon group, and R5 and R6 each independently represent an optionally substituted hydrocarbon group] (excluding compounds represented by formula (II)) or a salt thereof.L'invention concerne un composé qui a une activité inhibitrice de tyrosine kinase spécifique contre l'EGFR résistant de type mutation C797S (en particulier, l'EGFR résistant tertiaire de type mutation C797S), et qui est utile en tant qu'inhibiteur de tyrosine kinase spécifique à l'EGFR résistant de type mutation C797S (en particulier, l'EGFR résistant tertiaire de type mutation C797S), l'invention concerne également un agent prophylactique et/ou thérapeutique pour le cancer du poumon non à petites cellules ou similaire ayant un EGFR mutant résistant. La présente invention concerne un composé représenté par la formule (I) [dans la formule, X représente O ou NH, R1 et R2 représentent chacun indépendamment un atome d'hydrogène ou un groupe hydrocarboné éventuellement substitué, R3 et R4 représentent chacun indépendamment un atome d'hydrogène, un atome d'halogène, ou un groupe hydrocarboné éventuellement substitué, et R5 et R6 représentent chacun indépendamment un groupe hydrocarboné éventuellement substitué] (à l'exclusion des composés représentés par la formul