1 // RUN: %clang -O0 %s -o %t && %run %t
8 int main(int argc
, char **argv
) {
10 size_t n
= wcsxfrm(q
, L
"abcdef", sizeof(q
) / sizeof(wchar_t));
11 assert(n
< sizeof(q
));
14 locale_t loc
= newlocale(LC_ALL_MASK
, "", (locale_t
)0);
15 n
= wcsxfrm_l(q2
, L
"qwerty", sizeof(q
) / sizeof(wchar_t), loc
);
16 assert(n
< sizeof(q2
));