You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -133,17 +132,12 @@ int main(int argc, char **argv) {
133
132
}
134
133
case'5': {
135
134
// CHECK-5: {{.*}}cast-overflow.cpp:[[@LINE+1]]:27: runtime error: {{.*}} is outside the range of representable values of type 'int'
136
-
staticint test_int = (__fp16)Inf;
137
-
return0;
138
-
}
139
-
case'6': {
140
-
// CHECK-6: {{.*}}cast-overflow.cpp:[[@LINE+1]]:27: runtime error: {{.*}} is outside the range of representable values of type 'int'
141
135
staticint test_int = NaN;
142
136
return0;
143
137
}
144
138
// Integer -> floating point overflow.
145
-
case'7': {
146
-
// CHECK-7: cast-overflow.cpp:[[@LINE+2]]:{{27: runtime error: 3.40282e\+38 is outside the range of representable values of type 'int'| __int128 not supported}}
139
+
case'6': {
140
+
// 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}}
0 commit comments