PR11391: Don't try to evaluate the LHS of a _Complex assignment as an rvalue.

llvm-svn: 144799
diff --git a/clang/test/Sema/const-eval.c b/clang/test/Sema/const-eval.c
index 094d1ce..8904e12 100644
--- a/clang/test/Sema/const-eval.c
+++ b/clang/test/Sema/const-eval.c
@@ -108,3 +108,7 @@
 
 // PR11385.
 int castViaInt[*(int*)(unsigned long)"test"]; // expected-error {{variable length array}}
+
+// PR11391.
+struct PR11391 { _Complex float f; } pr11391;
+EVAL_EXPR(42, __builtin_constant_p(pr11391.f = 1))