| 24 | } |
| 25 | |
| 26 | int main() { |
| 27 | // Exhaust all available memory. |
| 28 | for(int i = 0; i < 50; ++i) { |
| 29 | grow_memory(); |
| 30 | } |
| 31 | // If we get this far without crashing on OOM, we are ok! |
| 32 | printf("Test finished!\n"); |
| 33 | return 0; |
| 34 | } |
nothing calls this directly
no test coverage detected