Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / fuzzer / fuzzer-oom-with-profile.test
blob918197abd5a24ef8ce500ffd7ab502e00d926ae1
1 REQUIRES: linux
2 RUN: %cpp_compiler %S/OutOfMemoryTest.cpp -o %t-OutOfMemoryTest
3 RUN: not %run %t-OutOfMemoryTest -rss_limit_mb=300 2>&1 | FileCheck %s
4 CHECK: ERROR: libFuzzer: out-of-memory (used: {{.*}}; limit: 300Mb)
5 CHECK: Live Heap Allocations
6 CHECK: Test unit written to ./oom-
7 SUMMARY: libFuzzer: out-of-memory