Add iterators to LookupResult, allowing one to iterate over the
non-ambiguous name lookup results without allocating any memory, e.g.,
for sets of overloaded functions.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63549 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/init.c b/test/Sema/init.c
index 41ca624..3c8f3fe 100644
--- a/test/Sema/init.c
+++ b/test/Sema/init.c
@@ -96,3 +96,13 @@
   int a;
   int z[2];
 } y = { .z = {} };
+
+int bbb[10];
+
+struct foo2 {
+   unsigned a;
+};
+
+struct foo2 bar2[] = {
+   { (int)bbb }
+};