Sign in
android
/
toolchain
/
rustc
/
635618df8991b8a005e435895ea0b1eee7e3faf0
/
.
/
src
/
llvm-project
/
clang
/
test
/
Sema
/
negative-shift-wrapv.c
blob: 28218be935fcc4ff620cc95cee8ba3468ec41b14 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -Wall -ffreestanding -fsyntax-only -fwrapv -verify %s
int
test
(
void
)
{
int
i
;
i
=
-
1
<<
1
;
// no-warning
return
i
;
}
// expected-no-diagnostics