2001-09-25 Phil Edwards <pme@gcc.gnu.org>
* testsuite/21_strings/c_strings.cc (test01, test02): Increase
`carray' size.
From-SVN: r45817
+2001-09-25 Phil Edwards <pme@gcc.gnu.org>
+
+ * testsuite/21_strings/c_strings.cc (test01, test02): Increase
+ `carray' size.
+
2001-09-25 Phil Edwards <pme@gcc.gnu.org>
* docs/html/20_util/howto.html: Add anchor name.
const char* cc1 = &cc;
const char* ccarray1 = "san francisco roof garden inspectors";
const char* ccarray2 = "san francisco sunny-day park inspectors";
- char carray[30];
+ char carray[50];
std::strcpy(carray, ccarray1);
void* v = carray;
const void* cv = ccarray1;
const char* ccarray1 = "san francisco roof garden inspectors";
const char* ccarray2 = "san francisco sunny-day park inspectors";
- char carray[30];
+ char carray[50];
strcpy(carray, ccarray1);
void* v = carray;
const void* cv = ccarray1;