Initial test coverage for %zd used with scanf
This commit is contained in:
parent
481ab0f930
commit
a260b5157a
|
@ -1296,6 +1296,13 @@ private:
|
|||
TEST_SCANF_WARN_AKA("%zx", "size_t", "ssize_t", "signed long", "signed long long");
|
||||
TEST_SCANF_WARN_AKA("%zx", "size_t", "ptrdiff_t", "signed long", "signed long long");
|
||||
|
||||
TEST_SCANF_WARN("%zd", "ssize_t", "bool");
|
||||
TEST_SCANF_WARN("%zd", "ssize_t", "signed short");
|
||||
TEST_SCANF_WARN("%zd", "ssize_t", "void *");
|
||||
// TODO TEST_SCANF_WARN("%zd", "ssize_t", "size_t");
|
||||
TEST_SCANF_NOWARN("%zd", "ssize_t", "ssize_t");
|
||||
//TODO TEST_SCANF_WARN_AKA("%zd", "ssize_t", "ptrdiff_t", "signed long", "signed long long");
|
||||
|
||||
TEST_SCANF_WARN("%tu", "unsigned ptrdiff_t", "bool");
|
||||
TEST_SCANF_WARN("%tu", "unsigned ptrdiff_t", "char");
|
||||
TEST_SCANF_WARN("%tu", "unsigned ptrdiff_t", "signed char");
|
||||
|
|
Loading…
Reference in New Issue