New testcases
[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 }