1 // PR sanitizer/80404 2 // { dg-do compile } 3 // { dg-options "-fsanitize=undefined" } 4 5 extern short v; 6 7 unsigned foo()8 foo () 9 { 10 unsigned a = (0 < 0 >= (0 >= 0)) / (unsigned) v; 11 return a; 12 } 13