Implement test/Sema/init.c by treating functions as constants.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43599 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/init.c b/test/Sema/init.c
new file mode 100644
index 0000000..71b1d63
--- /dev/null
+++ b/test/Sema/init.c
@@ -0,0 +1,6 @@
+// RUN: clang %s -verify -fsyntax-only
+
+typedef void (* fp)(void);
+void foo(void);
+fp a[1] = { foo };
+