Changeset 58e7b26 in mainline for uspace/lib/c/test/stdio/scanf.c
- Timestamp:
- 2018-08-31T19:10:47Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be34d6f
- Parents:
- bbe5e34
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-04-20 18:54:48)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-31 19:10:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/test/stdio/scanf.c
rbbe5e34 r58e7b26 42 42 #include <stdlib.h> 43 43 44 #pragma GCC diagnostic ignored "-Wformat-zero-length" 45 44 46 PCUT_INIT; 45 47 … … 604 606 605 607 cp = NULL; 606 rc = sscanf("abc", "% m3c", &cp);608 rc = sscanf("abc", "%3mc", &cp); 607 609 PCUT_ASSERT_INT_EQUALS(1, rc); 608 610 PCUT_ASSERT_NOT_NULL(cp);
Note:
See TracChangeset
for help on using the changeset viewer.