1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/Transforms/InstCombine/2004-12-08-InstCombineCrash.ll

16 lines
522 B
LLVM
Raw Normal View History

2004-12-08 08:25:10 +01:00
; RUN: llvm-as %s -o - | opt -instcombine
; XFAIL: *
2004-12-08 08:25:10 +01:00
%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
}