mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 02:31:09 +00:00
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:
parent
548e813fa7
commit
7219a21138
@ -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…
x
Reference in New Issue
Block a user