Add test case.

llvm-svn: 81868
This commit is contained in:
Anders Carlsson 2009-09-15 16:36:17 +00:00
parent 1450adbbf9
commit 160e635ba6
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
// RUN: clang-cc -emit-llvm-only %s
void f(bool flag) {
int a = 1;
int b = 2;
(flag ? a : b) = 3;
}