Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / Shared_Malloc / test_position_independent_malloc.h
blob97da10749c17b7d80c99f9166f404d01d74f6690
1 //
2 // Define struct used in test_position_independent_malloc.cpp
4 #ifndef __TEST_POSITION_INDEPENDENT_MALLOC_H
5 #define __TEST_POSITION_INDEPENDENT_MALLOC_H
7 #include "ace/Based_Pointer_T.h"
9 // Some test data.
10 struct Long_Test
12 ACE_Based_Pointer_Basic<long> bpl_;
13 long array_[10];
16 // Some more test data.
17 struct Test_Data
19 int i1_;
20 int i2_;
21 int i3_;
22 ACE_Based_Pointer<Test_Data> next_;
23 ACE_Based_Pointer<Long_Test> long_test_;
26 #endif /* __TEST_POSITION_INDEPENDENT_MALLOC */