2 * This program checks if the compiler doesn't have a certain bug
3 * that we encountered when testing C++11 features
6 #include "test_config.h"
8 #if defined (ACE_HAS_CPP11)
14 std::array
<std::string
, 2> priority_names
=
17 std::string("NOT USED"),
22 std::string
t (std::uint32_t prop
)
24 std::uint32_t log
= 0;
26 for (; prop
> 1; ++log
)
29 return priority_names
[log
];
32 struct A
{ A(int) {} ; };
33 const std::array
<A
, 4> x
= {{ 1, 1, 1, 1 }};
36 run_main (int, ACE_TCHAR
*[])
38 ACE_START_TEST (ACE_TEXT("Compiler_Features_23_Test"));
41 ACE_TEXT ("Compiler Feature 23 Test does compile and run.\n")));
50 run_main (int, ACE_TCHAR
*[])
52 ACE_START_TEST (ACE_TEXT("Compiler_Features_23_Test"));
55 ACE_TEXT ("No C++11 support enabled\n")));