Sign in
cobalt
/
cobalt
/
6c8e6ca645585847723be8278a12b4ca8ab72d69
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Sema
/
negative-shift-wrapv.c
blob: b8748201ffc01e6586c66db6d1de4dfc0c2773fb [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -Wall -ffreestanding -fsyntax-only -fwrapv -verify %s
int
test
()
{
int
i
;
i
=
-
1
<<
1
;
// no-warning
return
i
;
}
// expected-no-diagnostics