repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
Sema
/
negative-shift-wrapv.c
blob
28218be935fcc4ff620cc95cee8ba3468ec41b14
1
// RUN: %clang_cc1 -Wall -ffreestanding -fsyntax-only -fwrapv -verify %s
2
3
int
test
(
void
) {
4
int
i
;
5
i
= -
1
<<
1
;
// no-warning
6
return
i
;
7
}
8
9
// expected-no-diagnostics