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>
14 typedef std::true_type is_true
;
15 typedef std::false_type is_false
;
19 run_main (int, ACE_TCHAR
*[])
21 ACE_START_TEST (ACE_TEXT("Compiler_Features_25_Test"));
24 if (Foo::is_true() && !Foo::is_false())
27 ACE_TEXT ("Compiler Feature 25 Test does compile and run.\n")));
32 ACE_TEXT ("ERROR: Compiler Feature 25 Test does not run correctly.\n")));
42 run_main (int, ACE_TCHAR
*[])
44 ACE_START_TEST (ACE_TEXT("Compiler_Features_25_Test"));
47 ACE_TEXT ("No C++11 support enabled\n")));