Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr80349-2.C
blob: ca5ea4a0dbe2cad0c08ace38aa46d8201b5a6e81 [
file
] [
log
] [
blame
]
// PR sanitizer/80349
// { dg-do compile }
// { dg-options "-fsanitize=undefined" }
unsigned
long
int
ll
;
int
foo
()
{
return
(
2036854775807
>>
ll
&
char
(
207648476159223
)
|
502810590243120797UL
)
<<
0
;
}