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"
14 class abstractbase_reference
;
16 struct abstractbase_traits
18 using ref_type
= abstractbase_reference
<T
>;
19 static ref_type
narrow(abstractbase_reference
<C::AbstractBase
>);
20 static ref_type
narrow2(abstractbase_reference
<C::AbstractBase
>);
33 friend typename
C::abstractbase_traits
<T
>::ref_type
34 C::abstractbase_traits
<T
>::narrow(
35 C::abstractbase_reference
<C::AbstractBase
>);
38 C::abstractbase_traits
<T
>::narrow2(
39 C::abstractbase_reference
<C::AbstractBase
>) -> ref_type
;
40 AbstractBase() = default;
46 run_main (int, ACE_TCHAR
*[])
48 ACE_START_TEST (ACE_TEXT("Compiler_Features_31_Test"));
51 ACE_TEXT ("C++11 support ok\n")));