blob: b99bad4c63449e254a90f6734c4e289e302c6284 [file] [log] [blame]
Kostya Serebryany33fb36c2017-08-22 01:50:00 +00001# Test that we can find a stack overflow
George Karpenkov52a3e482017-08-28 20:10:30 +00002REQUIRES: linux
Matt Morehouse6ec75952017-08-25 22:01:21 +00003RUN: %cpp_compiler -fsanitize-coverage=stack-depth %S/DeepRecursionTest.cpp -o %t
Matt Morehouseb1fa8252017-08-22 21:28:29 +00004RUN: not %t -seed=1 -runs=100000000 2>&1 | FileCheck %s
5CHECK: ERROR: libFuzzer: deadly signal