OSDN Git Service

[libFuzzer] remove the now redundant 'LLVMFuzzer-' prefix from libFuzzer tests
[android-x86/external-llvm.git] / lib / Fuzzer / test / fuzzer-ubsan.test
1 RUN: %cpp_compiler -fsanitize=undefined -fno-sanitize-recover=all %S/SignedIntOverflowTest.cpp -o %t-SignedIntOverflowTest-Ubsan
2 RUN: not %t-SignedIntOverflowTest-Ubsan 2>&1 | FileCheck %s
3 CHECK: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
4 CHECK: Test unit written to ./crash-
5