(UINT8_C, UINT16_C): Don't append 'U', since C99 requires the result
[glibc/history.git] / localedata / tests-mbwc / dat_towlower.c
blob5074749e79b187e17271ca6631120b796ddc561d
1 /*
2 * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
4 * FILE: dat_towlower.c
6 * ISW*: int towlower (wint_t wc);
7 */
10 #include "dat_tow-funcs.h"
13 TST_TOW_LOC (LOWER, lower) = {
15 { TST_TOW_REC (de, lower)
17 { { WEOF }, { 0, 1, (wint_t)-1 } },
18 { { 0x0080 }, { 0, 1, 0x0080 } },
19 { { 0x00CC }, { 0, 1, 0x00EC } },
20 { { 0x00EC }, { 0, 1, 0x00EC } },
21 { .is_last = 1 } /* Last element. */
24 { TST_TOW_REC (enUS, lower)
26 { { WEOF }, { 0, 1, (wint_t)-1 } },
27 { { 0x007F }, { 0, 1, 0x007F } },
28 { { 0x0041 }, { 0, 1, 0x0061 } },
29 { { 0x0061 }, { 0, 1, 0x0061 } },
30 { .is_last = 1 } /* Last element. */
33 { TST_TOW_REC (eucJP, lower)
35 { { 0x007F }, { 0, 1, 0x007F } },
36 { { 0x0080 }, { 0, 1, 0x0080 } },
37 { { 0xFF21 }, { 0, 1, 0xFF41 } },
38 { { 0xFF41 }, { 0, 1, 0xFF41 } },
39 { .is_last = 1 } /* Last element. */
42 { TST_TOW_REC (end, lower) }