-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
{
#define TEST(test) \
do \
- if ((is##test (ch) == 0) != (iswctype (ch, bit_##test)) == 0) \
- { \
- printf ("class `%s' test for character \\%o failed\n", \
- #test, ch); \
- result = 1; \
- } \
+ { \
+ if ((is##test (ch) == 0) != (iswctype (ch, bit_##test)) == 0) \
+ { \
+ printf ("class `%s' test for character \\%o failed\n", \
+ #test, ch); \
+ result = 1; \
+ } \
+ if ((is##test (ch) == 0) != (isw##test (ch) == 0)) \
+ { \
+ printf ("`isw%s' test for character \\%o failed\n", \
+ #test, ch); \
+ result = 1; \
+ } \
+ } \
while (0)
TEST (alnum);