Sign in
cobalt
/
cobalt
/
refs/heads/22.lts.stable
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
cxx-condition.cpp
blob: 5aa0c5e294f1a7e724ba45de5668dfd38a0ba96c [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 -emit-llvm %s -o %t
void
f
()
{
int
a
;
if
(
int
x
=
a
)
++
a
;
else
a
=
x
;
while
(
int
x
=
a
)
++
a
;
for
(;
int
x
=
a
;
--
a
)
;
switch
(
int
x
=
0
)
{
}
}