Cl[C:2]1[N:3]=[C:4]([NH:12][CH2:13][CH3:14])[C:5]2[S:10][CH:9]=[C:8]([CH3:11])[C:6]=2[N:7]=1.[CH2:15]([NH2:18])[CH:16]=[CH2:17].C(=O)([O-])O.[Na+]>>[CH2:15]([NH:18][C:2]1[N:3]=[C:4]([NH:12][CH2:13][CH3:14])[C:5]2[S:10][CH:9]=[C:8]([CH3:11])[C:6]=2[N:7]=1)[CH:16]=[CH2:17]In a sealed tube were heated 273 mg (1.2 mmol) of 2-chloro-4-ethylamino-7-methylthieno[3,2-d]pyrimidine and 1.10 g (19.2 mmol) of allylamine at 160° C. for 16 hours. After completion of the reaction, the reaction mixture was allowed to resume room temperature, and a saturated aqueous sodium hydrogen carbonate solution was added thereto, followed by extraction with ethyl acetate (50 ml×2). The organic layer was washed with brine and dried over anhydrous sodium sulfate, and then the solvent was distilled off under reduced pressure. The residue was purified by silica gel chromatography (eluent: ethyl acetate-hexane=1/2) to give 191 mg (yield: 64.3%) of the title compound.