The reaction of N-aryl-substituted ketenimines with N,N-disubstitutedcyanamides or (MeS)2C=N-CN under high pressure afforded 4-(N,N-disubstituted amino) or 4-(MeS)2C=N-substituted quinazoline derivatives, respectively. These products were formed by [4+2] cycloaddition between the aza-diene moieties of the N-arylsubstituted ketenimines and cyano groups. A 4-(unsubstituted amino)quinazoline derivative