diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-07-24 20:03:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-07-24 20:03:14 +0000 |
commit | c2263408588c70a6232ffd606a3c7abf0a5fd5f5 (patch) | |
tree | bd2b0ad9f5dfff55d6a93446aa6e9ed906f77916 /wcsmbs/tst-wchar-h.c | |
parent | 76c98ee22b23ccd59684b32dd7af7e110687d79c (diff) | |
download | glibc-c2263408588c70a6232ffd606a3c7abf0a5fd5f5.tar glibc-c2263408588c70a6232ffd606a3c7abf0a5fd5f5.tar.gz glibc-c2263408588c70a6232ffd606a3c7abf0a5fd5f5.tar.bz2 glibc-c2263408588c70a6232ffd606a3c7abf0a5fd5f5.zip |
* wcsmbs/Makefile: Add rules to build and run tst-wchar-h.
* wcsmbs/tst-wchar-h.c: New file.
Diffstat (limited to 'wcsmbs/tst-wchar-h.c')
-rw-r--r-- | wcsmbs/tst-wchar-h.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wcsmbs/tst-wchar-h.c b/wcsmbs/tst-wchar-h.c new file mode 100644 index 0000000000..4cf2dd0690 --- /dev/null +++ b/wcsmbs/tst-wchar-h.c @@ -0,0 +1,9 @@ +#include <stdlib.h> +#include <wchar.h> + +int +main (void) +{ + mbstate_t x; + return sizeof (x) - sizeof (mbstate_t); +} |