* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git] / gcc / testsuite / c-c++-common / ubsan / pr64344-2.c
blob9d1eafd7abeac5032ba6778da547a477e573ce22
1 /* PR sanitizer/64344 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsanitize=float-cast-overflow" } */
5 int
6 foo (void)
8 static const int a = 0.5;
9 static const int b = (int) 13.5 + 1;
10 return a + b;