Convert tests using "| wc -l | grep ..." to use the count script.
[oota-llvm.git] / test / Transforms / ConstProp / float-to-ptr-cast.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | \
2 ; RUN:    grep -F {ret i32* null} | count 2
3
4 int* %test1() {
5   %X = cast float 0.0 to int*
6   ret int* %X
7 }
8
9 int* %test2() {
10   ret int* cast (float 0.0 to int*)
11 }