blob: cb93ef8c823808345b5f2d15117a38aacb624cd1 [file] [log] [blame]
Reid Spencer6a126512006-12-11 21:25:10 +00001; RUN: llvm-as < %s | llvm-dis | not grep bitcast
2
3int %test1() {
4 ret int bitcast(float 3.7 to int)
5}
6
7float %test2() {
8 ret float bitcast(int 17 to float)
9}
10
11long %test3() {
12 ret long bitcast (double 3.1415926 to long)
13}
14
15double %test4() {
16 ret double bitcast (long 42 to double)
17}
18