Another difference in the printf family.

This commit is contained in:
Uwe Bonnes 2003-10-28 00:04:42 +00:00 committed by Alexandre Julliard
parent dc969d4704
commit 16c3f341f9
1 changed files with 6 additions and 0 deletions

View File

@ -78,12 +78,18 @@ static void test_sscanf( void )
static void test_sprintf( void )
{
char buffer[100];
const char *I64d = "%I64d";
double pnumber=789456123;
sprintf(buffer,"%+#23.15e",pnumber);
todo_wine
{
ok(strstr(buffer,"e+008") != 0,"Sprintf different \"%s\"\n",buffer);
}
sprintf(buffer,I64d,((ULONGLONG)0xffffffff)*0xffffffff);
todo_wine
{
ok(strlen(buffer) == 19,"Problem with long long \"%s\"\n",buffer);
}
}
START_TEST(scanf)