glibc/wcsmbs/tst-wchar-h.c
Wainer dos Santos Moschetta b2b1ea8b77 Update wcsmbs tests to use the support test driver
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.
2017-04-04 18:05:20 -03:00

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>