Heterocyclic compounds represented by the general formula (I)
wherein R stands for an optionally substituted aromatic heterocyclic group;
X stands for oxygen atom, an optionally oxidated sulfur atom, —C(═O)— or —CH(OH)—;
Y stands for CH or N;
m denotes an integer of 0 to 10:
n denotes an integer of 1 to 5:
cyclic group
stands for an optionally substituted aromatic azole group; and
ring A is optionally further substituted,
or salts thereof. The compound (I) possesses action of inhibiting tyrosine kinase and useful as antitumor agents.