test crash fix

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-08-29 22:38:15 +00:00
commit 879db4220b

View file

@ -104,7 +104,7 @@ char *CharPingPong(char *str) {
}
// variables
char *global_char = CPLUSPLUS_MSG;
char *global_char = NULL;
char global_char_array1[] = CPLUSPLUS_MSG;
char global_char_array2[sizeof(CPLUSPLUS_MSG)+1] = CPLUSPLUS_MSG;