summaryrefslogtreecommitdiff
path: root/test/CBackend/2002-10-30-FunctionPointerAlloca.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CBackend/2002-10-30-FunctionPointerAlloca.ll')
-rw-r--r--test/CBackend/2002-10-30-FunctionPointerAlloca.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CBackend/2002-10-30-FunctionPointerAlloca.ll b/test/CBackend/2002-10-30-FunctionPointerAlloca.ll
new file mode 100644
index 0000000000..2e21ee75f3
--- /dev/null
+++ b/test/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
+}