brintos

brintos / llvm-project-archived public Read only

0
0
Text · 561 B · 264bb5d Raw
12 lines · plain
1# Test that throws a C++ exception and doesn't catch it. Should result in a2# crash3# FIXME: Get test working on other platforms.4REQUIRES: windows5RUN: %cpp_compiler %S/UncaughtException.cpp -o %t-UncaughtException6 7# Clang will fail the test with 'deadly signal', but other compilers may fail with different error messages.8# For example, msvc fails with 'uncaught C++ exception'. So the error we check depends on the compiler target.9RUN: not %run %t-UncaughtException 2>&1 | FileCheck %s10 11CHECK: ERROR: libFuzzer: {{deadly signal|uncaught C\+\+ exception}}12