%$Id: testbug-plain.tex,v 1.1 2010/07/04 13:57:25 hahe Exp hahe $

\pdfcompresslevel=0

\def\mymacro{%
  \setbox\Tempwidth=\hbox{i}%
  \hbox to 0pt{%
  \pdfliteral direct {1 0 0 rg 1 0 0 RG}%
  \copy\Tempwidth
  \pdfliteral direct {0 0 0 rg 0 0 0 RG}%
  \hss
  }%
  \setbox\Tempwidth=\hbox{e}%
  \copy\Tempwidth
  \relax
}
\catcode`\@=12

\newbox\Tempwidth

a \mymacro

\end
