8 lines · plain
1REQUIRES: linux2RUN: %cpp_compiler %S/OutOfMemoryTest.cpp -o %t-OutOfMemoryTest3RUN: not %run %t-OutOfMemoryTest -rss_limit_mb=300 2>&1 | FileCheck %s4CHECK: ERROR: libFuzzer: out-of-memory (used: {{.*}}; limit: 300Mb)5CHECK: Live Heap Allocations6CHECK: Test unit written to ./oom-7SUMMARY: libFuzzer: out-of-memory8