summaryrefslogtreecommitdiff
path: root/tests/Basic_Types_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Basic_Types_Test.cpp')
-rw-r--r--tests/Basic_Types_Test.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/Basic_Types_Test.cpp b/tests/Basic_Types_Test.cpp
index de8bf8d898c..6376ba36d28 100644
--- a/tests/Basic_Types_Test.cpp
+++ b/tests/Basic_Types_Test.cpp
@@ -43,8 +43,6 @@ USELIB("..\ace\aced.lib");
#endif /* defined(__BORLANDC__) && __BORLANDC__ >= 0x0530 */
-typedef void* (*a_function_pointer) (void*);
-
static
u_int
check (const ASYS_TCHAR *message, u_int i, u_int j)
@@ -147,17 +145,6 @@ main (int, ASYS_TCHAR *[])
errors += check (ASYS_TEXT ("sizeof (ACE_UINT64) is %u%s"),
sizeof (ACE_UINT64), 8);
- // ACE assumes sizeof (long) == sizeof (void*)
- if (sizeof (long) == sizeof (void *))
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("sizeof (long) == sizeof (void*)\n")));
- else
- ACE_ERROR ((LM_ERROR, ASYS_TEXT ("sizeof (long) != sizeof (void*)\n")));
-
- // ACE assumes sizeof (long) >= sizeof (a_function_pointer)
- if (sizeof (long) >= sizeof (a_function_pointer))
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("sizeof (long) >= sizeof (a_function_pointer)\n")));
- else
- ACE_ERROR ((LM_ERROR, ASYS_TEXT ("sizeof (long) < sizeof (a_function_pointer)\n")));
#if defined (ACE_LITTLE_ENDIAN)
ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("little endian\n")));