aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll')
-rw-r--r--test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll16
1 files changed, 7 insertions, 9 deletions
diff --git a/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll b/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll
index b887488..a17b8db 100644
--- a/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll
+++ b/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll
@@ -1,12 +1,10 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
+; RUN: llvm-as < %s | llc -march=c
+ %BitField = type i32
+ %tokenptr = type i32*
- %BitField = type int
- %tokenptr = type %BitField*
-
-implementation
-
-void %test() {
- %pmf1 = alloca %tokenptr (%tokenptr, sbyte*)*
- ret void
+define void @test() {
+ %pmf1 = alloca %tokenptr (%tokenptr, i8*)* ; <%tokenptr (%tokenptr, i8*)**> [#uses=0]
+ ret void
}
+