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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-11-29 05:19:15 +00:00
parent 548e813fa7
commit 7219a21138

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
}