* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git] / gcc / testsuite / c-c++-common / ubsan / pr80932.c
blob92903f7e0ee4c5577d33e54282f9a1429aea8090
1 /* PR sanitizer/80932 */
2 /* { dg-do run } */
3 /* { dg-options "-fsanitize=undefined -fsanitize-undefined-trap-on-error" } */
5 int x = 1;
7 int
8 foo (void)
10 return ((int) (2855545792U * x) - (int) (3269399503U * x)) * -5;
13 int
14 main ()
16 foo ();