1REQUIRES: linux 2RUN: %cpp_compiler %S/OutOfMemoryTest.cpp -o %t-OutOfMemoryTest 3RUN: not %run %t-OutOfMemoryTest -rss_limit_mb=300 2>&1 | FileCheck %s 4CHECK: ERROR: libFuzzer: out-of-memory (used: {{.*}}; limit: 300Mb) 5CHECK: Live Heap Allocations 6CHECK: Test unit written to ./oom- 7SUMMARY: libFuzzer: out-of-memory 8