oops, forgot to commit this.
[oota-llvm.git] / test / Bitcode / 2006-12-11-Cast-ConstExpr.ll
1 ; This test ensures that we get a bitcast constant expression in and out,
2 ; not a sitofp constant expression. 
3 ; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \
4 ; RUN:   grep {bitcast (}
5
6 %G = external global int
7
8 float %tryit(int %A) {
9    ret float bitcast( int ptrtoint (int* %G to int) to float)
10 }