aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/GC/badreadproto.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/GC/badreadproto.ll')
-rw-r--r--test/CodeGen/X86/GC/badreadproto.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/GC/badreadproto.ll b/test/CodeGen/X86/GC/badreadproto.ll
index 4fe90b9..37672f8 100644
--- a/test/CodeGen/X86/GC/badreadproto.ll
+++ b/test/CodeGen/X86/GC/badreadproto.ll
@@ -7,7 +7,7 @@
declare %list* @llvm.gcread(%list*, %list**)
define %list* @tl(%list* %l) gc "example" {
- %hd.ptr = getelementptr %list* %l, i32 0, i32 0
+ %hd.ptr = getelementptr %list, %list* %l, i32 0, i32 0
%hd = call %list* @llvm.gcread(%list* %l, %list** %hd.ptr)
ret i32 %tmp
}