| 319 | struct some_struct { int i; int j; double z; }; |
| 320 | |
| 321 | bool test_stl_allocator2() { |
| 322 | #ifdef __cplusplus |
| 323 | std::vector<some_struct, mi_stl_allocator<some_struct> > vec; |
| 324 | vec.push_back(some_struct()); |
| 325 | vec.pop_back(); |
| 326 | return vec.size() == 0; |
| 327 | #else |
| 328 | return true; |
| 329 | #endif |
| 330 | } |
no test coverage detected