projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Name file properly
[oota-llvm.git]
/
test
/
Transforms
/
RaiseAllocations
/
FreeCastConstantExpr.ll
1
; This situation can occur due to the funcresolve pass.
2
;
3
; RUN: llvm-as < %s | opt -raiseallocs | llvm-dis | not grep call
4
5
declare void %free(sbyte*)
6
7
void %test(int *%P) {
8
call void(int*)* cast (void(sbyte*)* %free to void(int*)*)(int* %P)
9
ret void
10
}