llvm-project/compiler-rt/test/fuzzer/uncaught-exception.test
Jonathan Metzman 91703085f5 [fuzzer] Disable uncaught-exception on non-Win+undo bad fix
Test is failing on non-Windows platforms. Also undo speculative
fix since it causes failures on Windows.
2020-11-16 09:35:35 -08:00

11 lines
348 B
Plaintext

# Test that throws a C++ exception and doesn't catch it. Should result in a
# crash
# FIXME: Get test working on other platforms.
REQUIRES: windows
RUN: %cpp_compiler %S/UncaughtException.cpp -o %t-UncaughtException
RUN: not %run %t-UncaughtException 2>&1 | FileCheck %s
CHECK: ERROR: libFuzzer: deadly signal
CHECK: Test unit written to ./crash