CBE doesn't alloc correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4474 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll b/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll
new file mode 100644
index 0000000..2e21ee7
--- /dev/null
+++ b/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll
@@ -0,0 +1,10 @@
+
+ %BitField = type int
+ %tokenptr = type %BitField*
+
+implementation
+
+void %test() {
+ %pmf1 = alloca %tokenptr (%tokenptr, sbyte*)*
+ ret void
+}