[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / Transforms / DeadArgElim / 2008-01-16-VarargsParamAttrs.ll
index 93282f7f8f2b9b5bf57b818394894624f7390f75..a7cfe688571f4c5dd7c80685e03e23a4cbf97672 100644 (file)
@@ -22,7 +22,7 @@ declare void @llvm.va_end(i8*) nounwind
 define i32 @main() {
 entry:
        %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-       %tmp = getelementptr [4 x %struct.point]* @pts, i32 0, i32 0            ; <%struct.point*> [#uses=1]
+       %tmp = getelementptr [4 x %struct.point], [4 x %struct.point]* @pts, i32 0, i32 0               ; <%struct.point*> [#uses=1]
        %tmp1 = call i32 (i32, ...)* @va1( i32 1, %struct.point* byval  %tmp ) nounwind                 ; <i32> [#uses=0]
        call void @exit( i32 0 ) noreturn nounwind 
        unreachable