\documentclass{minimal}
\begin{document}
\errorcommand{blah}
\input{test-hbox-1}
\include{test-hbox-2}
~
\input{test-hbox-3}
\end{document}
