* nis/nss_nisplus/nisplus-service.c: Fix locking to use
[glibc.git] / localedata / tests-mbwc / dat_towupper.c
blob5d971f3f0dcc12b5a47aad307373285db31fcf4a
1 /*
2 * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
4 * FILE: dat_towupper.c
6 * ISW*: int towupper (wint_t wc);
7 */
10 #include "dat_tow-funcs.h"
13 TST_TOW_LOC (UPPER, upper) = {
15 { TST_TOW_REC (de, upper)
17 { { WEOF }, { 0, 1, (wint_t)-1 } },
18 { { 0x0080 }, { 0, 1, 0x0080 } },
19 { { 0x00EC }, { 0, 1, 0x00CC } },
20 { { 0x00CC }, { 0, 1, 0x00CC } },
21 { .is_last = 1 } /* Last element. */
24 { TST_TOW_REC (enUS, upper)
26 { { WEOF }, { 0, 1, (wint_t)-1 } },
27 { { 0x0080 }, { 0, 1, 0x0080 } },
28 { { 0x0041 }, { 0, 1, 0x0041 } },
29 { { 0x0061 }, { 0, 1, 0x0041 } },
30 { .is_last = 1 } /* Last element. */
33 { TST_TOW_REC (eucJP, upper)
35 { { WEOF }, { 0, 1, (wint_t)-1 } },
36 { { 0x007F }, { 0, 1, 0x007F } },
37 { { 0xFF41 }, { 0, 1, 0xFF21 } },
38 { { 0xFF21 }, { 0, 1, 0xFF21 } },
39 { .is_last = 1 } /* Last element. */
42 { TST_TOW_REC (end, upper) }