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)
10 #include <type_traits>
13 struct non_instantiatable
15 typedef typename
T::THIS_TYPE_CANNOT_BE_INSTANTIATED type
;
19 run_main (int, ACE_TCHAR
*[])
21 ACE_START_TEST (ACE_TEXT("Compiler_Features_36_Test"));
23 bool const result
= std::is_base_of
<non_instantiatable
<int>, void>::value
;
24 ACE_UNUSED_ARG (result
);
27 ACE_TEXT ("C++11 support ok\n")));
36 run_main (int, ACE_TCHAR
*[])
38 ACE_START_TEST (ACE_TEXT("Compiler_Features_36_Test"));
41 ACE_TEXT ("No C++11 support enabled\n")));