Files
ANSLibs/swig-4.3.0/Examples/test-suite/javascript/static_const_member_2_runme.js

14 lines
419 B
JavaScript

var static_const_member_2 = require("static_const_member_2");
c = new static_const_member_2.Test_int();
a = c.forward_field;
a = c.current_profile;
a = c.RightIndex;
a = static_const_member_2.Test_int.backward_field;
a = static_const_member_2.Test_int.LeftIndex;
a = static_const_member_2.Test_int.cavity_flags;
if (static_const_member_2.Foo.BAZ.val != 2 * static_const_member_2.Foo.BAR.val) {
throw new Error;
}