llvm-project/compiler-rt/test/fuzzer/uncaught-exception.test

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
325 B
Plaintext
Raw Normal View History

# Test that throws a C++ exception and doesn't catch it. Should result in a
# crash
RUN: %cpp_compiler %S/UncaughtException.cpp -o %t-UncaughtException
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