new testcase for problem causing 2003-10-12-GlobalVarInitializers failures

llvm-svn: 10251
This commit is contained in:
Chris Lattner 2003-11-29 05:19:15 +00:00
parent d4174e7703
commit 2958f1eae7

View File

@ -0,0 +1,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
}