Sign in
llvm
/
llvm-project
/
clang
/
f24f1aa67f8de1cb864ef833f358840411ebaf5b
/
.
/
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