summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ubsan/lit_tests/Integer/mul-overflow.cpp
diff options
context:
space:
mode:
authorWill Dietz <wdietz2@illinois.edu>2012-12-02 18:43:33 +0000
committerWill Dietz <wdietz2@illinois.edu>2012-12-02 18:43:33 +0000
commitb28179be109d69c663efdae2df15563ab3e9a531 (patch)
treee72fb1eeddbde7ad26d474fa132d64d53b75bf83 /compiler-rt/lib/ubsan/lit_tests/Integer/mul-overflow.cpp
parent1157e1410c833b5a167807370a68c073961c6f5c (diff)
downloadbcm5719-llvm-b28179be109d69c663efdae2df15563ab3e9a531.tar.gz
bcm5719-llvm-b28179be109d69c663efdae2df15563ab3e9a531.zip
[ubsan] Replace "fatal error" with "runtime error".
llvm-svn: 169112
Diffstat (limited to 'compiler-rt/lib/ubsan/lit_tests/Integer/mul-overflow.cpp')
-rw-r--r--compiler-rt/lib/ubsan/lit_tests/Integer/mul-overflow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/ubsan/lit_tests/Integer/mul-overflow.cpp b/compiler-rt/lib/ubsan/lit_tests/Integer/mul-overflow.cpp
index ef5c0046464..8d1e70d6ad4 100644
--- a/compiler-rt/lib/ubsan/lit_tests/Integer/mul-overflow.cpp
+++ b/compiler-rt/lib/ubsan/lit_tests/Integer/mul-overflow.cpp
@@ -9,6 +9,6 @@ int main() {
(void)(uint16_t(0xffff) * int16_t(0x7fff));
(void)(uint16_t(0xffff) * uint16_t(0x8000));
- // CHECK: mul-overflow.cpp:13:27: fatal error: signed integer overflow: 65535 * 32769 cannot be represented in type 'int'
+ // CHECK: mul-overflow.cpp:13:27: runtime error: signed integer overflow: 65535 * 32769 cannot be represented in type 'int'
(void)(uint16_t(0xffff) * uint16_t(0x8001));
}
OpenPOWER on IntegriCloud