Commit f53c320f authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

rpcrt4/tests: Win 8 and 10 do not correctly unmarshal a ranged enum16.

In practice this bug is not observed since midl, unlike widl, does not generate ranges in inline stub mode. For interpreted stubs, where midl does generate ranges, the [out] parameters are zero-initialised by the runtime. Signed-off-by: 's avatarHuw Davies <huw@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b7e2e45f
......@@ -1006,8 +1006,11 @@ basic_tests(void)
if (!old_windows_version)
{
re = 0xdeadbeef;
get_ranged_enum(&re);
ok(re == RE3, "get_ranged_enum() returned %d instead of RE3\n", re);
ok(re == RE3 ||
broken(re == MAKELONG(re, 0xdead)), /* Win 8, Win 10 */
"get_ranged_enum() returned %x instead of RE3\n", re);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment