[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / CodeGen / X86 / tailcallbyval.ll
index 9a0b57c138c2592491817b50698deccf9f4687f6..d3a740cee5230053dcd924e1509923b1910ffb98 100644 (file)
@@ -5,7 +5,7 @@
 
 define  fastcc i32 @tailcallee(%struct.s* byval %a) nounwind {
 entry:
-        %tmp2 = getelementptr %struct.s* %a, i32 0, i32 0
+        %tmp2 = getelementptr %struct.s, %struct.s* %a, i32 0, i32 0
         %tmp3 = load i32* %tmp2
         ret i32 %tmp3
 ; CHECK: tailcallee