mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-26 13:36:28 +00:00
new testcase for problem causing 2003-10-12-GlobalVarInitializers failures
llvm-svn: 10251
This commit is contained in:
parent
d4174e7703
commit
2958f1eae7
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user