Аннотация:N-Allyl-N-methylanilines react with methyl diazoacetate or diazoacetone in the presence of Y, Sc or Sm triflates to give the corresponding methyl N-(2-allylaryl)-N-methylglycinates or 2-allyl-N-methyl-N-(2-oxopropyl)aniline. The formation of these compounds involves the aza-Claisen rearrangement.