; This test ensures that we get a bitcast constant expression in and out,
; not a sitofp constant expression. 
; RUN: llvm-as < %s | llvm-dis | grep 'bitcast ('
%G = external global int

float %tryit(int %A) {
   ret float bitcast( int ptrtoint (int* %G to int) to float)
}

Test case for ensuring correct reading back of cast constant expressions.
Test case for ensuring correct reading back of cast constant expressions.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@32449 91177308-0d34-0410-b5e6-96231b3b80d8
