; RUN: llvm-as %s -o - | opt -instcombine

	%struct.llvm_java_object_base = type opaque
	"java/lang/Object" = type { %struct.llvm_java_object_base }
	"java/lang/StringBuffer" = type { "java/lang/Object", int, { "java/lang/Object", uint, [0 x ushort] }*, bool }

implementation   ; Functions:

void "java/lang/StringBuffer/append(Ljava/lang/String;)Ljava/lang/StringBuffer;"() {
bc0:
	%tmp53 = getelementptr "java/lang/StringBuffer"* null, int 0, uint 1		; <int*> [#uses=1]
	store int 0, int* %tmp53
	ret void
}

; RUN: llvm-as %s -o - | opt -instcombine
; XFAIL: *

	%struct.llvm_java_object_base = type opaque
	"java/lang/Object" = type { %struct.llvm_java_object_base }
	"java/lang/StringBuffer" = type { "java/lang/Object", int, { "java/lang/Object", uint, [0 x ushort] }*, bool }

implementation   ; Functions:

void "java/lang/StringBuffer/append(Ljava/lang/String;)Ljava/lang/StringBuffer;"() {
bc0:
	%tmp53 = getelementptr "java/lang/StringBuffer"* null, int 0, uint 1		; <int*> [#uses=1]
	store int 0, int* %tmp53
	ret void
}

Mark this as an XFAIL until a fix is worked out.
Mark this as an XFAIL until a fix is worked out.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@18651 91177308-0d34-0410-b5e6-96231b3b80d8
