Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / ACE / tests / Compiler_Features_34_Test.cpp
blob2e9629c04e186cf5437e92ee614b7d5e35f82e49
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 class B
12 public:
13 private:
14 B& operator= (B&& x) = delete;
17 int
18 run_main (int, ACE_TCHAR *[])
20 ACE_START_TEST (ACE_TEXT("Compiler_Features_34_Test"));
22 B a;
23 ACE_UNUSED_ARG (a);
25 ACE_DEBUG ((LM_INFO,
26 ACE_TEXT ("C++11 support ok\n")));
28 ACE_END_TEST;
30 return 0;
33 #else
34 int
35 run_main (int, ACE_TCHAR *[])
37 ACE_START_TEST (ACE_TEXT("Compiler_Features_34_Test"));
39 ACE_DEBUG ((LM_INFO,
40 ACE_TEXT ("No C++11 support enabled\n")));
42 ACE_END_TEST;
43 return 0;
46 #endif