diff options
Diffstat (limited to 'wcsmbs/tst-wchar-h.c')
-rw-r--r-- | wcsmbs/tst-wchar-h.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/wcsmbs/tst-wchar-h.c b/wcsmbs/tst-wchar-h.c index 4cf2dd0..fd2ad56 100644 --- a/wcsmbs/tst-wchar-h.c +++ b/wcsmbs/tst-wchar-h.c @@ -1,9 +1,12 @@ #include <stdlib.h> #include <wchar.h> -int -main (void) +static int +do_test (void) { mbstate_t x; return sizeof (x) - sizeof (mbstate_t); } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |