\documentclass{minimal}
% When a document class or external file modifies the hook list,
% check that the main parser updates its regexp.
% Bug-Debian: https://bugs.debian.org/813855
% Bug-Ubuntu: https://bugs.launchpad.net/rubber/+bug/1470988
\input{bar}
\begin{document}
\includegraphics{foo}
\end{document}
