Code gen static initializer.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43386 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/staticinit.c b/test/CodeGen/staticinit.c
new file mode 100644
index 0000000..7411be3
--- /dev/null
+++ b/test/CodeGen/staticinit.c
@@ -0,0 +1,5 @@
+// RUN: clang -emit-llvm %s
+
+void f() {
+  static int i = 42;
+}