Merge pull request #4831 from geoffw0/printfunknown

C++: Fix Printf.qll specsAreKnown
This commit is contained in:
Jonas Jensen
2020-12-16 10:56:56 +01:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -42,4 +42,8 @@ void test(int i, const char *str)
}
printf("%@ %i %i", 1, 2); // GOOD
printf("%Y", 1, 2); // GOOD (unknown format character, this might be correct)
printf("%1.1Y", 1, 2); // GOOD (unknown format character, this might be correct)
printf("%*.*Y", 1, 2); // GOOD (unknown format character, this might be correct)
}