Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
160e635ba694198ac1d7c7a7016a63bd626ebff5
/
.
/
clang
/
test
/
CodeGenCXX
/
conditional-expr-lvalue.cpp
blob: 7b3233a5bed07aaa504264f60371c953fcbf069e [
file
] [
log
] [
blame
]
Anders Carlsson
160e635
2009-09-15 16:36:17 +0000
[
diff
] [
blame^
]
1
// RUN: clang-cc -emit-llvm-only %s
2
void
f
(
bool
flag
)
{
3
int
a
=
1
;
4
int
b
=
2
;
5
6
(
flag
?
a
:
b
)
=
3
;
7
}