summaryrefslogtreecommitdiff
path: root/ACE/tests/Compiler_Features_38_Test.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2018-04-10 18:59:38 -0400
committerSteve Huston <shuston@riverace.com>2018-04-10 18:59:38 -0400
commitceb273ea994e3718d2e7197454839bf7c1fcce34 (patch)
tree273df17f62dda934429ca8b4902ec3346b979cf2 /ACE/tests/Compiler_Features_38_Test.cpp
parent3718261cb814c3cc598de91fa2bee7ddcdfffc7b (diff)
parent29c5bc48b96635cf8aba0f63e3ebd5f3802452d3 (diff)
downloadATCD-Riverace-case2088.tar.gz
Merge out from masterRiverace-case2088
Diffstat (limited to 'ACE/tests/Compiler_Features_38_Test.cpp')
-rw-r--r--ACE/tests/Compiler_Features_38_Test.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/ACE/tests/Compiler_Features_38_Test.cpp b/ACE/tests/Compiler_Features_38_Test.cpp
index 83733394013..0d6466479db 100644
--- a/ACE/tests/Compiler_Features_38_Test.cpp
+++ b/ACE/tests/Compiler_Features_38_Test.cpp
@@ -5,17 +5,6 @@
#include "test_config.h"
-// g++ 4.1 can't handle this construct
-#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 1))
-# define ACE_DISABLE_TEST
-#endif
-
-// Visual Studio 7.1 can't handle this construct
-#if (_MSC_VER == 1310)
-# define ACE_DISABLE_TEST
-#endif
-
-#if !defined (ACE_DISABLE_TEST)
template <typename T>
class Foo_T
{
@@ -33,18 +22,15 @@ struct Foo2
long i;
};
typedef Foo_T<Foo2> Foo2Seq;
-#endif /* !ACE_DISABLE_TEST */
int
run_main (int, ACE_TCHAR *[])
{
ACE_START_TEST (ACE_TEXT("Compiler_Features_38_Test"));
-#if !defined (ACE_DISABLE_TEST)
Foo2Seq f2;
- long const j = f2[0].i;
+ long const j = f2[0L].i;
ACE_UNUSED_ARG(j);
-#endif /* !ACE_DISABLE_TEST */
ACE_DEBUG ((LM_INFO,
ACE_TEXT ("C++ support ok\n")));