summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex')
-rw-r--r--Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex24
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex b/Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex
new file mode 100644
index 00000000000..63de4caa7c3
--- /dev/null
+++ b/Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex
@@ -0,0 +1,24 @@
+%%
+%% This is file `test-compat-plain.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% luatexbase-compat.dtx (with options: `testplain')
+%%
+%% Written in 2010 by Manuel Pegourie-Gonnard.
+%%
+%% This work is under the CC0 license.
+%% See source file 'luatexbase-compat.dtx' for details.
+%%
+\input luatexbase-compat.sty
+\catcode64 11
+\luatexbase@directlua{local answer = 42}
+\luatexbase@ensure@primitive{primitive}
+\luatexprimitive\relax
+\luatexbase@directlua{assert(type(luatexbase.luatexversion) == 'number')}
+\luatexbase@directlua{assert(type(luatexbase.luatexrevision) == 'number')}
+\bye
+\endinput
+%%
+%% End of file `test-compat-plain.tex'.