diff options
author | dim <dim@FreeBSD.org> | 2015-09-06 18:41:23 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-09-06 18:41:23 +0000 |
commit | 3da1400d07e473463df86668e1e50da8b02618fa (patch) | |
tree | b259e5d585da0f8cde9579939a74d5ef44c72abd /test/ubsan/TestCases/Integer/negate-overflow.cpp | |
parent | d423c65af723ebf09d0356d1833a035e7c6e7aad (diff) | |
download | FreeBSD-src-3da1400d07e473463df86668e1e50da8b02618fa.zip FreeBSD-src-3da1400d07e473463df86668e1e50da8b02618fa.tar.gz |
Import compiler-rt 3.7.0 release (r246257).
Diffstat (limited to 'test/ubsan/TestCases/Integer/negate-overflow.cpp')
-rw-r--r-- | test/ubsan/TestCases/Integer/negate-overflow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ubsan/TestCases/Integer/negate-overflow.cpp b/test/ubsan/TestCases/Integer/negate-overflow.cpp index bde0bda..628291e 100644 --- a/test/ubsan/TestCases/Integer/negate-overflow.cpp +++ b/test/ubsan/TestCases/Integer/negate-overflow.cpp @@ -1,5 +1,5 @@ -// RUN: %clangxx -fsanitize=signed-integer-overflow %s -o %t && %run %t 2>&1 | FileCheck %s --check-prefix=CHECKS -// RUN: %clangxx -fsanitize=unsigned-integer-overflow %s -o %t && %run %t 2>&1 | FileCheck %s --check-prefix=CHECKU +// RUN: %clangxx -fsanitize=signed-integer-overflow %s -o %t1 && %run %t1 2>&1 | FileCheck %s --check-prefix=CHECKS +// RUN: %clangxx -fsanitize=unsigned-integer-overflow %s -o %t2 && %run %t2 2>&1 | FileCheck %s --check-prefix=CHECKU int main() { // CHECKS-NOT: runtime error |