1 /* PR sanitizer/64906 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsanitize=integer-divide-by-zero -O -Werror=maybe-uninitialized" } */
4 
5 int
fn1(int f,int s)6 fn1 (int f, int s)
7 {
8   int ret = 0;
9   if (f)
10     ret = s / (f ? (unsigned long) 8 : 0);
11   return ret;
12 }
13