(N/A) Carbylamine reaction: Aliphatic and aromatic primary amines,when heated with chloroform $(CHCl_3)$ and ethanolic potassium hydroxide $(KOH)$,form isocyanides or carbylamines,which are substances with a foul smell.
Secondary and tertiary amines do not undergo this reaction.
This reaction is known as the carbylamine reaction or isocyanide test and is used as a diagnostic test for primary amines.
General reaction:
$R-NH_2 + CHCl_3 + 3 KOH \xrightarrow{\Delta} R-NC + 3 KCl + 3 H_2O$
Example with methanamine:
$CH_3NH_2 + CHCl_3 + 3 KOH \xrightarrow{\Delta} CH_3NC + 3 KCl + 3 H_2O$
(Methanamine $\rightarrow$ Methyl isocyanide)
Example with aniline:
$C_6H_5NH_2 + CHCl_3 + 3 KOH \xrightarrow{\Delta} C_6H_5NC + 3 KCl + 3 H_2O$
(Aniline $\rightarrow$ Phenyl isocyanide)