[fuzzer] Add allocator_may_return_null to uncaught-exception.test.

Speculative fix for failing unittest.
This commit is contained in:
Jonathan Metzman 2020-11-16 09:04:54 -08:00
parent d2e52eec51
commit a3be128709
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# crash
RUN: %cpp_compiler %S/UncaughtException.cpp -o %t-UncaughtException
RUN: not %run %t-UncaughtException 2>&1 | FileCheck %s
RUN: ASAN_OPTIONS=allocator_may_return_null=1 not %run %t-UncaughtException 2>&1 | FileCheck %s
CHECK: ERROR: libFuzzer: deadly signal
CHECK: Test unit written to ./crash