summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp')
-rw-r--r--compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp b/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp
index 460150aa3b2..479c39f2842 100644
--- a/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp
@@ -137,7 +137,7 @@ int main(int argc, char **argv) {
// Integer -> floating point overflow.
case '6': {
- // CHECK-6: cast-overflow.cpp:[[@LINE+2]]:{{34: runtime error: 0xffffff00000000000000000000000001 is outside the range of representable values of type 'float'| __int128 not supported}}
+ // CHECK-6: cast-overflow.cpp:[[@LINE+2]]:{{27: runtime error: 3.40282e\+38 is outside the range of representable values of type 'int'| __int128 not supported}}
#if defined(__SIZEOF_INT128__) && !defined(_WIN32)
static int test_int = (float)(FloatMaxAsUInt128 + 1);
return 0;
OpenPOWER on IntegriCloud