aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/CBackend
diff options
context:
space:
mode:
authorNick Hildenbrandt <hldnbrnd@uiuc.edu>2002-10-31 18:23:09 +0000
committerNick Hildenbrandt <hldnbrnd@uiuc.edu>2002-10-31 18:23:09 +0000
commitbaa2c40edb2321cafff673b62bb51eefbbb6e93b (patch)
tree8d22617d2b7b1d74f8e166c5c8529e44e38dc36b /test/CodeGen/CBackend
parent59b2b86f35a4d8cb904257f8955fa7c94092d4e0 (diff)
CBE doesn't alloc correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CBackend')
-rw-r--r--test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll10
1 files changed, 10 insertions, 0 deletions
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 0000000000..2e21ee75f3
--- /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
+}