2001-05-21 Benjamin Kosnik <bkoz@kredhat.com>
* testsuite/21_strings/c_strings.cc (main): Fix.
From-SVN: r42420
const char* ccarray2 = "san francisco sunny-day park inspectors";
char carray[30];
strcpy(carray, ccarray1);
- void* v;
- const void* cv;
+ void* v = carray;
+ const void* cv = ccarray1;
// const char* strchr(const char* s, int c);
// char* strchr(char* s, int c);
const char* ccarray2 = "san francisco sunny-day park inspectors";
char carray[30];
strcpy(carray, ccarray1);
- void* v;
- const void* cv;
+ void* v = carray;
+ const void* cv = ccarray1;
memchr(cv, '/', 3);
strchr(ccarray1, '/');