projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New testcase for PR141
[oota-llvm.git]
/
test
/
ExecutionEngine
/
test-malloc.ll
1
2
int %main() {
3
%X = malloc int ; constant size
4
%Y = malloc int, uint 100 ; constant size
5
%u = add uint 1, 2
6
%Z = malloc int, uint %u ; variable size
7
free int* %X
8
free int* %Y
9
free int* %Z
10
ret int 0
11
}