mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +00:00
LibC: Do not include suppressed assignments in scanf return value
This commit is contained in:
parent
7b0f3b6811
commit
31079a56d7
2 changed files with 11 additions and 10 deletions
|
@ -178,6 +178,7 @@ const TestSuite test_suites[] {
|
|||
{ "%llu", "9223372036854775810", 1, 1, { unsignedlonglongarg0 }, { to_value_t(9223372036854775810ULL) } },
|
||||
{ "%n", "", 0, 1, { intarg0 }, { to_value_t(0) } },
|
||||
{ "%d %n", "1 a", 1, 2, { intarg0, intarg1 }, { to_value_t(1), to_value_t(2) } },
|
||||
{ "%*d", " 42", 0, 0, {}, {} },
|
||||
};
|
||||
|
||||
bool g_any_failed = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue