diff options
Diffstat (limited to 'libio/tst-sscanf.c')
-rw-r--r-- | libio/tst-sscanf.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/libio/tst-sscanf.c b/libio/tst-sscanf.c deleted file mode 100644 index fb4be34b77..0000000000 --- a/libio/tst-sscanf.c +++ /dev/null @@ -1,23 +0,0 @@ -#include <stdio.h> -#include <wchar.h> - -#define WCS_LENGTH 256 - -static int -do_test (void) -{ - const char cnv[] ="%l[abc]"; - const char str[] = "abbcXab"; - wchar_t wcs[WCS_LENGTH]; - int result = 0; - - sscanf (str, cnv, wcs); - printf ("wcs = \"%ls\"\n", wcs); - fflush (stdout); - result = wcscmp (wcs, L"abbc") != 0; - - return result; -} - -#define TEST_FUNCTION do_test () -#include "../test-skeleton.c" |