Abstract
In the title compound, C23H17ClN2O3, the quinazoline fusedring system, including the ring-bound carbonyl-O and methylC atoms, is close to being planar (r. m. s. deviation = 0.044 angstrom) and is essentially orthogonal to both the 2-tolyl ring [dihedral angle = 89.51 (8)degrees] and to the ester group [the C-O-C-C torsion angle = -103.69 (16)degrees]. The carboxylate group is almost coplanar with the benzene ring to which it is attached [O-C-C-C torsion angle = -4.7 (2)degrees]. The 2-tolyl ring system is disordered over two orientations in a 0.871 (3): 0.129 (3) ratio. In the crystal, molecules are consolidated into a three-dimensional architecture by C-H center dot center dot center dot Cl, C-H center dot center dot center dot O, C-H center dot center dot center dot N, C-H center dot center dot center dot pi and pi-pi interactions [intercentroid distances = 3.6443 (9) and 3.8557 (11) angstrom].