| 211 | } |
| 212 | |
| 213 | static void test_leak(void) { |
| 214 | for (int n = 0; n < ITER; n++) { |
| 215 | run_os_threads(THREADS, &leak); |
| 216 | mi_collect(false); |
| 217 | #ifndef NDEBUG |
| 218 | if ((n + 1) % 10 == 0) { printf("- iterations left: %3d\n", ITER - (n + 1)); } |
| 219 | #endif |
| 220 | } |
| 221 | } |
| 222 | #endif |
| 223 | |
| 224 | int main(int argc, char** argv) { |
no test coverage detected