organic compounds
The title compound, C20H22ClNO3, was synthesized by the reaction of 3-chlorobenzaldehyde, 5,5-dimethyl-1,3-cyclohexanedione and methyl 2-aminocrotonate in an ionic liquid medium. The X-ray analysis reveals that the nitrogen-containing ring adopts a boat conformation and the cyclohexene ring has a half-chair conformation. Intermolecular N—HO bonds in the structure lead to the formation of chains.