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
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
cxx-condition.cpp
blob
5aa0c5e294f1a7e724ba45de5668dfd38a0ba96c
1
// RUN: %clang_cc1 -emit-llvm %s -o %t
2
3
void
f
() {
4
int
a
;
5
if
(
int
x
=
a
) ++
a
;
else
a
=
x
;
6
while
(
int
x
=
a
) ++
a
;
7
for
(;
int
x
=
a
; --
a
) ;
8
switch
(
int
x
=
0
) { }
9
}