Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/javascript/preproc_runme.js
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

15 lines
244 B
JavaScript

var preproc = require("preproc");
if (preproc.endif != 1)
throw "RuntimeError";
if (preproc.define != 1)
throw "RuntimeError";
if (preproc.defined != 1)
throw "RuntimeError";
if (2*preproc.one != preproc.two)
throw "RuntimeError";