projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rint tests: More tests.
[gnulib.git]
/
tests
/
test-wctype-h.c
diff --git
a/tests/test-wctype-h.c
b/tests/test-wctype-h.c
index
b4da264
..
aed3b77
100644
(file)
--- a/
tests/test-wctype-h.c
+++ b/
tests/test-wctype-h.c
@@
-27,13
+27,18
@@
wint_t a = 'x';
/* Check that WEOF is defined. */
wint_t e = WEOF;
/* Check that WEOF is defined. */
wint_t e = WEOF;
+/* Check that the type wctype_t is defined. */
+wctype_t p;
+
+/* Check that the type wctrans_t is defined. */
+wctrans_t q;
+
int
main (void)
{
/* Check that the isw* functions exist as functions or as macros. */
(void) iswalnum (0);
(void) iswalpha (0);
int
main (void)
{
/* Check that the isw* functions exist as functions or as macros. */
(void) iswalnum (0);
(void) iswalpha (0);
- (void) iswblank (0);
(void) iswcntrl (0);
(void) iswdigit (0);
(void) iswgraph (0);
(void) iswcntrl (0);
(void) iswdigit (0);
(void) iswgraph (0);
@@
-47,7
+52,6
@@
main (void)
/* Check that the isw* functions map WEOF to 0. */
ASSERT (!iswalnum (e));
ASSERT (!iswalpha (e));
/* Check that the isw* functions map WEOF to 0. */
ASSERT (!iswalnum (e));
ASSERT (!iswalpha (e));
- ASSERT (!iswblank (e));
ASSERT (!iswcntrl (e));
ASSERT (!iswdigit (e));
ASSERT (!iswgraph (e));
ASSERT (!iswcntrl (e));
ASSERT (!iswdigit (e));
ASSERT (!iswgraph (e));