Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
9dc58bb414394db3b886c0b6425a2738cb4cd785
/
.
/
test
/
CodeGenCXX
/
conditional-expr-lvalue.cpp
blob: a0843c40f071d968cc6ef51e001b3979c4150ddd [
file
] [
log
] [
blame
]
Daniel Dunbar
a572887
2009-12-15 20:14:24 +0000
[
diff
] [
blame
]
1
// RUN: %clang_cc1 -emit-llvm-only %s
Anders Carlsson
8c12506
2009-09-15 16:36:17 +0000
[
diff
] [
blame
]
2
void
f
(
bool
flag
)
{
3
int
a
=
1
;
4
int
b
=
2
;
5
6
(
flag
?
a
:
b
)
=
3
;
7
}