summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luatexbase/test-compat-plain.tex
blob: e60b83bfaff26f033153821b8eb239effd599ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%%
%% This is file `test-compat-plain.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% luatexbase-compat.dtx  (with options: `testplain')
%% 
%% See the aforementioned source file(s) for copyright and licensing information.
%% 
\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'.