-; RUN: opt %s -argpromotion | llvm-dis > %t
-; RUN: cat %t | grep {define.*@callee(.*i32\\*}
+; RUN: opt < %s -argpromotion -S > %t
+; RUN: cat %t | grep "define.*@callee(.*i32\*"
; PR2498
; This test tries to convince argpromotion about promoting the load from %A + 2,