blob: f2e186d02445478be23c78de0a2865b78d293bf9 [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | llvm-as
Chris Lattner55d813a2005-02-09 17:42:24 +00002
3; Ensure that the asm writer emits types before both operands of the
4; store, even though they can be the same.
5
6%RecTy = type %RecTy*
7implementation
8
9 void %foo() {
10 %A = malloc %RecTy
11 %B = malloc %RecTy
12 store %RecTy %B, %RecTy %A ;; Both ops are the same
13 ret void
14}