ACE+TAO-7_0_8
[ACE_TAO.git] / ACE / tests / Malloc_Test.h
blobc675830581b6eb52ef569cb507ade73b76fbf9bc
1 //=============================================================================
2 /**
3 * @file Malloc_Test.h
5 * This class gets its own header file to work around AIX C++
6 * compiler "features" related to template instantiation... It is
7 * only used by Malloc_Test.cpp.
9 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
11 //=============================================================================
14 #ifndef ACE_TESTS_MALLOC_TEST_H
15 #define ACE_TESTS_MALLOC_TEST_H
17 #include "ace/Based_Pointer_T.h"
19 // Some test data.
20 struct Long_Test
22 ACE_Based_Pointer_Basic<long> bpl_;
23 long array_[10];
26 // Some more test data.
27 struct Test_Data
29 int i1_;
30 int i2_;
31 int i3_;
32 double d1_;
33 ACE_Based_Pointer<Test_Data> next_;
34 ACE_Based_Pointer<Long_Test> long_test_;
37 #endif /* ACE_TESTS_MALLOC_TEST_H */