#include <string.h>int test (void) { char *var = "test"; strncpy(var, "foo", 4); return 0;}int main (void) { return test();}