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