* PURPOSE: Test for _vscprintf
*/
+#include <apitest.h>
+
#include <stdio.h>
-#include <wine/test.h>
#include <tchar.h>
+#include <errno.h>
static void call_varargs(int expected_ret, LPCSTR formatString, ...)
{
call_varargs(12, "%S world!", L"hello");
call_varargs(12, "%s world!", "hello");
call_varargs(11, "%u cookies", 100);
- /* Test NULL argument */
- call_varargs(-1, NULL);
+ /* Do not test NULL argument. That is verified to SEGV on a */
+ /* release-build with VC10 and MS' msvcrt. */
}