mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 20:12:56 +02:00
459667b48d
llvm-svn: 62956
12 lines
231 B
LLVM
12 lines
231 B
LLVM
; RUN: llvm-as < %s | opt -indmemrem | llvm-dis | grep bounce | grep noalias
|
|
|
|
declare i8* @malloc(i32)
|
|
|
|
@g = external global i8*
|
|
|
|
define void @test() {
|
|
%A = bitcast i8* (i32) * @malloc to i8*
|
|
store i8* %A, i8** @g
|
|
ret void
|
|
}
|