1// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
2
3/* This testcase doesn't actually test a bug, it's just the result of me
4 * figuring out the syntax for forward declaring a static variable. */
5struct list {
6  int x;
7  struct list *Next;
8};
9
10static struct list B;  /* Forward declare static */
11static struct list A = { 7, &B };
12static struct list B = { 8, &A };
13
14extern struct list D;  /* forward declare normal var */
15
16struct list C = { 7, &D };
17struct list D = { 8, &C };
18
19