view compiler-rt/test/fuzzer/uncaught-exception.test @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents
children
line wrap: on
line source

# 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