[opaque pointer type] Add textual IR support for explicit type parameter to getelemen...
[oota-llvm.git] / test / CodeGen / X86 / fastcc-byval.ll
index e6828e42827c5268e7d4add2812828e97734660c..32ba6ed8799c6c628e984fd671df33e57592988d 100644 (file)
@@ -14,7 +14,7 @@ target triple = "i386-apple-darwin9.5"
 
 define fastcc i32 @bar() nounwind {
        %V = alloca %struct.MVT
-       %a = getelementptr %struct.MVT* %V, i32 0, i32 0
+       %a = getelementptr %struct.MVT, %struct.MVT* %V, i32 0, i32 0
        store i32 1, i32* %a
        call fastcc void @foo(%struct.MVT* byval %V) nounwind
        %t = load i32* %a