aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/LevelRaise/2003-11-28-IllegalTypeConversion.ll
blob: 8c1aef7a400cd13d6e40411d4a0513db1474280c (plain)
1
2
3
4
5
6
7
8
9
10
; The program should not just cast 2143289344 to float and store it!
;
; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep 41DFF

void %test() {
       %mem_tmp = alloca float
       %tmp.0 = cast float* %mem_tmp to uint*
       store uint 2143289344, uint* %tmp.0
       ret void
}