Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / tests / Bug_2980_Regression_Dll.cpp
blob0aaa591c175307456e25274957aec0fdba30e923
1 #include "ace/Init_ACE.h"
2 #include "ace/Log_Msg.h"
3 #include "test_config.h"
5 extern "C"
7 ACE_Proper_Export_Flag int capi_init()
9 int ret = ACE::init();
10 ACE_START_TEST (ACE_TEXT ("Bug_2980_Regression_Test"));
11 ACE_DEBUG ((LM_INFO,
12 ACE_TEXT ("ACE::init ()\n")));
13 ACE_END_TEST;
14 return ret;
18 ACE_Proper_Export_Flag int capi_fini()
20 ACE_START_TEST (ACE_TEXT ("Bug_2980_Regression_Test"));
21 ACE_DEBUG ((LM_INFO,
22 ACE_TEXT ("ACE::fini ()\n")));
23 ACE_END_TEST;
25 return ACE::fini();
29 ACE_Proper_Export_Flag int capi_dosomething()
31 ACE_START_TEST (ACE_TEXT ("Bug_2980_Regression_Test"));
33 ACE_DEBUG((
34 LM_DEBUG,
35 ACE_TEXT ("(%P|%t) capi_dosomething - entered\n")
36 ));
38 ACE_DEBUG((
39 LM_DEBUG,
40 ACE_TEXT ("(%P|%t) capi_dosomething - leaving\n")
41 ));
43 ACE_END_TEST;
44 return 0;