summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-11-16 12:57:07 +0000
committerAlexey Samsonov <samsonov@google.com>2012-11-16 12:57:07 +0000
commitbe9a293ddaa763b33340f3adb53da80cdb950d58 (patch)
tree28dde61765cb9bd74689c4fbe35ef42d5c5b1225 /compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp
parentcc42980335a44643ce8e79c7092446581ef457c8 (diff)
downloadbcm5719-llvm-be9a293ddaa763b33340f3adb53da80cdb950d58.tar.gz
bcm5719-llvm-be9a293ddaa763b33340f3adb53da80cdb950d58.zip
UBSan: enable CMake build on Darwin. Fix two failing tests and disable the test which produces linker errors on Darwin.
llvm-svn: 168169
Diffstat (limited to 'compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp')
-rw-r--r--compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp b/compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp
index 38fc7b05575..ee431548f38 100644
--- a/compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp
+++ b/compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp
@@ -16,7 +16,7 @@ int main() {
#ifdef SUB_I64
(void)(int64_t(-8000000000000000000ll) - int64_t(2000000000000000000ll));
- // CHECK-SUB_I64: -8000000000000000000 - 2000000000000000000 cannot be represented in type 'long'
+ // CHECK-SUB_I64: -8000000000000000000 - 2000000000000000000 cannot be represented in type '{{long( long)?}}'
#endif
#ifdef SUB_I128
OpenPOWER on IntegriCloud