Commit 4c184a8b authored by Alexandre Julliard's avatar Alexandre Julliard

oleaut32/tests: Skip a test that may crash on Win64.

parent f901f63b
......@@ -5249,8 +5249,11 @@ static void test_SysAllocStringByteLen(void)
const CHAR szTestA[6] = { 'T','e','s','t','\0','?' };
BSTR str;
str = SysAllocStringByteLen(szTestA, 0x80000000);
ok (str == NULL, "Expected NULL, got %p\n", str);
if (sizeof(void *) == 4) /* not limited to 0x80000000 on Win64 */
{
str = SysAllocStringByteLen(szTestA, 0x80000000);
ok (str == NULL, "Expected NULL, got %p\n", str);
}
str = SysAllocStringByteLen(szTestA, 0xffffffff);
ok (str == NULL, "Expected NULL, got %p\n", str);
......
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