Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / tests / Bug_3710_Regression_Test.cpp
blobd61b05770cde8811a5bac6223919a5bcadb2364f
1 /**
2 * @file Bug_3710_Regression_Test.cpp
4 * Reproduces the problems reported in bug 3710
5 * http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=3710
6 */
8 #include "test_config.h"
10 #include "ace/OS_NS_string.h"
11 #include "ace/OS_NS_unistd.h"
12 #include "ace/OS_Memory.h"
15 // Main function.
17 int
18 run_main (int, ACE_TCHAR *[])
20 ACE_START_TEST (ACE_TEXT ("Bug_3710_Regression_Test"));
22 ACE_TCHAR out_string[64*1024+1];
24 ACE_OS::memset(out_string,ACE_TEXT('@'),sizeof(out_string));
25 //I only use ACE_MAXLOGMSGLEN char .
26 out_string[ACE_MAXLOGMSGLEN] = ACE_TEXT('\0');
27 ACE_DEBUG((LM_ALERT, ACE_TEXT("%s out_string: I love beijing."),out_string));
29 ACE_END_TEST;
30 return 0;