Aniline, chloroform and alc. KOH on heating gives :
Aniline, chloroform and alc. KOH on heating gives foul smelling phenyl isocyanide.
C6H5−NH2aniline+CHCl3+3KOHheat−−→C6H5−NCPhenyl isocyanide+3KCl+3H2O
This is Hoffmann's carbyl amines test also called isocyanide test. It is given by aliphatic or aromatic primary amines. This test is not indicated by secondary or tertiary amines.