Recognize CompoundLiteralExpr's as valid lvalue's.

Also updated a FIXME in Sema::CheckInitializer()...

llvm-svn: 44602
diff --git a/clang/test/Sema/compound-literal.c b/clang/test/Sema/compound-literal.c
new file mode 100644
index 0000000..f57159a
--- /dev/null
+++ b/clang/test/Sema/compound-literal.c
@@ -0,0 +1,10 @@
+// RUN: clang -fsyntax-only -verify %s
+
+struct foo { int a, b; };
+
+extern void fooFunc(struct foo *pfoo);
+
+int main(int argc, char **argv) {
+ fooFunc(&(struct foo){ 1, 2 });
+}
+