Add test case for function-pointer-cast-of-global as constant
expression.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55323 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/init.c b/test/Sema/init.c
index f6cf9c3..964118c 100644
--- a/test/Sema/init.c
+++ b/test/Sema/init.c
@@ -54,3 +54,7 @@
 // rdar://5870981
 union { float f; unsigned u; } u = { 1.0f };
 
+// rdar://6156694
+int f3(int x) { return x; }
+typedef void (*vfunc)(void);
+void *bar = (vfunc) f3;