mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
b2b1ea8b77
Replaced test-skeleton.c with support/test-driver.c and adjusted the tests accordinly. Checked on x86_64-linux-gnu. * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove the TEST_FUNCTION macro definition. * wcsmbs/tst-mbrtowc2.c: Likewise. * wcsmbs/tst-mbsrtowcs.c: Likewise. * wcsmbs/tst-wchar-h.c: Likewise. * wcsmbs/tst-wcpncpy.c: Likewise. * wcsmbs/tst-wcrtomb.c: Likewise. * wcsmbs/tst-wcsnlen.c: Likewise. * wcsmbs/tst-wcstof.c: Likewise.
12 lines
161 B
C
12 lines
161 B
C
#include <stdlib.h>
|
|
#include <wchar.h>
|
|
|
|
static int
|
|
do_test (void)
|
|
{
|
|
mbstate_t x;
|
|
return sizeof (x) - sizeof (mbstate_t);
|
|
}
|
|
|
|
#include <support/test-driver.c>
|