Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/src/cmd/tex/web2c/tests/memtest.tex

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


%% plain tex file for testing memory overflow
\tracingstats=2
\newcount\cnt
\chardef\nil=0
\cnt=0
\let\tempa=\relax
\setbox\nil\hbox{}
\def\tempb{\copy\nil}
\def\list{\tempa}
\def\again{\xdef\list{\list\list}\let\tempa\tempb\leavevmode\list\vfill\eject
    \let\tempa\relax\advance\cnt1 \ifnum\cnt>19 \let\again\relax\fi\again}
\again
\end

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.