2008-01-30 Roland McGrath <roland@redhat.com>
[glibc.git] / localedata / tests-mbwc / dat_wcscpy.c
blob9313659f48a413b40bde5d9c660fe1704a2cb227
1 /*
2 * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
4 * FILE: dat_wcscpy.c
6 * WCSCPY: wchar_t *wcscpy (wchar_t *ws1, const wchar_t *ws2);
7 */
9 TST_WCSCPY tst_wcscpy_loc [] = {
11 { { Twcscpy, TST_LOC_de },
13 { { { 0x00F1,0x00F2,0x00F3,0x0000 }, }, /* 1 */
14 { 0,0,0, { 0x00F1,0x00F2,0x00F3,0x0000, } }, },
15 { { { 0x0000,0x00F2,0x00F3,0x0000 }, }, /* 2 */
16 { 0,0,0, { 0x0000, } }, },
17 { .is_last = 1 }
20 { { Twcscpy, TST_LOC_enUS },
22 { { { 0x0041,0x0082,0x0043,0x0000 }, }, /* 1 */
23 { 0,0,0, { 0x0041,0x0082,0x0043,0x0000, } }, },
24 { { { 0x0000,0x0082,0x0043,0x0000 }, }, /* 2 */
25 { 0,0,0, { 0x0000, } }, },
26 { .is_last = 1 }
29 { { Twcscpy, TST_LOC_eucJP },
31 { { { 0x3041,0x0092,0x3043,0x0000 }, }, /* 1 */
32 { 0,0,0, { 0x3041,0x0092,0x3043,0x0000, } }, },
33 { { { 0x0000,0x0092,0x3043,0x0000 }, }, /* 2 */
34 { 0,0,0, { 0x0000, } }, },
35 { .is_last = 1 }
38 { { Twcscpy, TST_LOC_end }}