// Test helper inherited into the simul_efun.  Defines its own class and a
// function returning it.  The function's compiled return type encodes the
// class_num local to THIS program, not the one assigned in the combined
// simul_efun_ob class table -- so this is the inheritance shape that
// reproduces the production "SkillRoll vs DataFloat" bug.

#include <cross_struct.h>

class CrossStruct make_cross_struct(int n, string s) {
  class CrossStruct cs = new(class CrossStruct);
  cs.n = n;
  cs.s = s;
  return cs;
}
