blob: 6bd1603b0a1f7b7999ce48cc2831caad66d475ff [file] [log] [blame]
Reid Spencer840cc9e2006-12-11 23:19:53 +00001; This test ensures that we get a bitcast constant expression in and out,
2; not a sitofp constant expression.
3; RUN: llvm-as < %s | llvm-dis | grep 'bitcast ('
4%G = external global int
5
6float %tryit(int %A) {
7 ret float bitcast( int ptrtoint (int* %G to int) to float)
8}