Improve test coverage for %zd used with scanf
This commit is contained in:
parent
eaa12db761
commit
2b717c6c31
|
@ -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", "ssize_t", "signed long", "signed long long");
|
||||||
TEST_SCANF_WARN_AKA("%zx", "size_t", "ptrdiff_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 *");
|
||||||
|
//TEST_SCANF_WARN("%zd", "ssize_t", "size_t");
|
||||||
|
TEST_SCANF_NOWARN("%zd", "ssize_t", "ssize_t");
|
||||||
|
//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", "bool");
|
||||||
TEST_SCANF_WARN("%tu", "unsigned ptrdiff_t", "char");
|
TEST_SCANF_WARN("%tu", "unsigned ptrdiff_t", "char");
|
||||||
TEST_SCANF_WARN("%tu", "unsigned ptrdiff_t", "signed char");
|
TEST_SCANF_WARN("%tu", "unsigned ptrdiff_t", "signed char");
|
||||||
|
|
Loading…
Reference in New Issue