xref: /llvm-project/compiler-rt/test/fuzzer/uncaught-exception.test (revision 91703085f53428ea6305770d41db148e0ebbdea7)
1# Test that throws a C++ exception and doesn't catch it. Should result in a
2# crash
3# FIXME: Get test working on other platforms.
4REQUIRES: windows
5RUN: %cpp_compiler %S/UncaughtException.cpp -o %t-UncaughtException
6
7RUN: not %run %t-UncaughtException 2>&1 | FileCheck %s
8
9CHECK: ERROR: libFuzzer: deadly signal
10CHECK: Test unit written to ./crash
11