blob: a7bf05ca48c43e10d3ad868db1c46f78fbccac6d [file] [log] [blame]
// RUN: test.sh -e -t %t %s
#include <string.h>
#include <locale.h>
// strxfrm() with too short a destination.
int main()
{
char dst[9];
char *source = "This is a string";
setlocale(LC_ALL, "C");
size_t sz;
sz = strxfrm(dst, source, 10);
return 0;
}