| 306 | } |
| 307 | |
| 308 | bool test_stl_allocator1() { |
| 309 | #ifdef __cplusplus |
| 310 | std::vector<int, mi_stl_allocator<int> > vec; |
| 311 | vec.push_back(1); |
| 312 | vec.pop_back(); |
| 313 | return vec.size() == 0; |
| 314 | #else |
| 315 | return true; |
| 316 | #endif |
| 317 | } |
| 318 | |
| 319 | struct some_struct { int i; int j; double z; }; |
| 320 |