Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr80404.C
blob: b3fa7c242863e0c6c0b257e4100caf14baae782e [
file
] [
log
] [
blame
]
// PR sanitizer/80404
// { dg-do compile }
// { dg-options "-fsanitize=undefined" }
extern
short
v
;
unsigned
foo
()
{
unsigned
a
=
(
0
<
0
>=
(
0
>=
0
))
/
(
unsigned
)
v
;
return
a
;
}