Piotr Caban (@piotr) commented about dlls/msvcp140/tests/msvcp140.c:
ok(this->convert_mode == 0x44, "got %#x.\n", this->convert_mode);
- ok(this->max_code == 0x55, "got %#x.\n", this->max_code);
- ok(this->max_code == 0xffffffff, "got %#x.\n", this->max_code); ok(*(unsigned int *)(buffer + sizeof(*this)) == 0xcccccccc, "got %#x.\n", *(unsigned int *)(buffer + sizeof(*this))); call_func1(p_codecvt_char16_dtor, this);
- for (j = 0; j < ARRAY_SIZE(test_flags); ++j)
- {
winetest_push_context("flags %#lx", test_flags[j]);
this = (codecvt_char16 *)buffer;
memset(buffer, 0xcc, sizeof(buffer));
call_func5(p_codecvt_char16_ctor_mode, this, (void *)0xdeadbeef, MAX_UCSCHAR, test_flags[j], 0);
str16[0] = 'a';
memset(&state, 0, sizeof(state));
ret = (int)call_func8(p_codecvt_char16_do_out, this, &state, str16, str16 + 1, (const char16_t **)&str16_ptr, str, str, &str_ptr);
Please try to avoid adding long lines (exceeding 120 chars).