public static int test_2_return_struct_virtual() { Tests t = new Tests(); Simple v = t.v_get_simple(2); if (v.a != 2) { return(0); } if (v.b != 3) { return(0); } if (v.c != 4) { return(0); } if (v.d != 5) { return(0); } return(2); }
public static int test_2_return_struct_virtual () { Tests t = new Tests (); Simple v = t.v_get_simple (2); if (v.a != 2) return 0; if (v.b != 3) return 0; if (v.c != 4) return 0; if (v.d != 5) return 0; return 2; }