Doxygen changes
[ACE_TAO.git] / ACE / tests / Compiler_Features_29_Test.cpp
bloba74d2bcd212f42a487502acbef053b305f49be8d
1 /**
2 * This program checks if the compiler doesn't have a certain bug
3 * that we encountered when testing C++11 features
4 */
6 #include "test_config.h"
8 #if defined (ACE_HAS_CPP11)
10 #include <cstdint>
12 class A
14 public:
15 static constexpr char const* adapter_name = "A";
16 static constexpr float pi = 3.14150f;
19 int
20 run_main (int, ACE_TCHAR *[])
22 ACE_START_TEST (ACE_TEXT("Compiler_Features_29_Test"));
24 ACE_DEBUG ((LM_DEBUG, "Variable %C\n", A::adapter_name));
26 ACE_END_TEST;
28 return 0;
31 #else
32 int
33 run_main (int, ACE_TCHAR *[])
35 ACE_START_TEST (ACE_TEXT("Compiler_Features_29_Test"));
37 ACE_DEBUG ((LM_INFO,
38 ACE_TEXT ("No C++11 support enabled\n")));
40 ACE_END_TEST;
41 return 0;
44 #endif