c_strings.cc (main): Fix.

2001-05-21  Benjamin Kosnik  <bkoz@kredhat.com>

	* testsuite/21_strings/c_strings.cc (main): Fix.

From-SVN: r42420
This commit is contained in:
Benjamin Kosnik 2001-05-22 04:58:14 +00:00
parent ef0a7b49a9
commit d4fae8b1f0
1 changed files with 4 additions and 4 deletions

View File

@ -35,8 +35,8 @@ void test01()
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);
@ -72,8 +72,8 @@ void test02()
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, '/');