1# UNSUPPORTED: darwin, freebsd, aarch64 2# Tests how the fork mode works together with ubsan. 3RUN: %cpp_compiler %S/IntegerOverflowTest.cpp -o %t-IntegerOverflowTest -fsanitize=signed-integer-overflow -fno-sanitize-recover=signed-integer-overflow 4RUN: not %run %t-IntegerOverflowTest -fork=1 -ignore_crashes=1 -runs=10000 2>&1 | FileCheck %s --check-prefix=UBSAN_FORK 5UBSAN_FORK: runtime error: signed integer overflow: 1073741824 + 1073741824 cannot be represented in type 'int' 6UBSAN_FORK: INFO: fuzzed for {{.*}} iterations, wrapping up soon 7