MC: Eliminate MCFragment vtable, which was unnecessary.
[llvm.git] / test / Assembler / 2005-02-09-AsmWriterStoreBug.ll
blob4ec17966e792a67f88d6203ae034d7c5205e0d6f
1 ; RUN: llvm-as < %s | llvm-dis | llvm-as
3 ; Ensure that the asm writer emits types before both operands of the 
4 ; store, even though they can be the same.
6 %RecTy = type %RecTy*
8 define void @foo() {
9         %A = malloc %RecTy              ; <%RecTy> [#uses=1]
10         %B = malloc %RecTy              ; <%RecTy> [#uses=1]
11         store %RecTy %B, %RecTy %A
12         ret void