csizeof.add_argument (new CCodeIdentifier (get_ccode_name (array_type.element_type)));
in_arg_map.set (get_param_pos (0.1), csizeof);
- CCodeExpression? free_func_expr = new CCodeIdentifier("NULL");
+ CCodeExpression free_func_expr = new CCodeIdentifier("NULL");
if (array_type.element_type.value_owned) {
free_func_expr = get_destroy_func_expression(array_type.element_type);
}
test_void_array ();
test_explicit_copying ();
test_array_with_primitives_move ();
+ test_array_with_struct_move (0, 2, 3, 1);
+ test_array_with_struct_move (2, 0, 3, 2);
+ test_array_with_struct_move (0, 3, 1, 1);
test_array_resize ();
test_struct_array ();
test_fixed_array ();
test_void_array ();
test_explicit_copying ();
test_array_with_primitives_move ();
- //test_array_with_struct_move(0, 2, 3, 1);
- //test_array_with_struct_move(2, 0, 3, 2);
- //test_array_with_struct_move(0, 3, 1, 1);
+ test_array_with_struct_move(0, 2, 3, 1);
+ test_array_with_struct_move(2, 0, 3, 2);
+ test_array_with_struct_move(0, 3, 1, 1);
test_array_resize ();
test_struct_array ();
test_fixed_array ();
test_void_array ();
test_explicit_copying ();
test_array_with_primitives_move ();
+ test_array_with_struct_move (0, 2, 3, 1);
+ test_array_with_struct_move (2, 0, 3, 2);
+ test_array_with_struct_move (0, 3, 1, 1);
test_array_resize ();
test_struct_array ();
test_fixed_array ();