2 * This program checks if the compiler / platform supports strongly
6 #include "test_config.h"
12 static constexpr uint32_t bound
= std::numeric_limits
<uint32_t>::max();
15 // First forward declare TCKind, this is legal with C++11
16 enum class TCKind
: uint32_t;
18 enum class TCKind
: uint32_t
25 // And another forward declared TCKind, after it has been
27 enum class TCKind
: uint32_t;
30 std::ostream
& operator<<
31 (std::ostream
& strm
,CORBA::TCKind _enumerator
)
33 switch (_enumerator
) {
34 case CORBA::TCKind::tk_null
: return strm
<< "CORBA::TCKind::tk_null"; break;
35 case CORBA::TCKind::tk_void
: return strm
<< "CORBA::TCKind::tk_void"; break;
41 run_main (int, ACE_TCHAR
*[])
43 ACE_START_TEST (ACE_TEXT("Compiler_Features_16_Test"));
46 ACE_TEXT ("Strongly typed enums work.\n")));