New testcases


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5261 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/ExecutionEngine/test-malloc.ll b/test/ExecutionEngine/test-malloc.ll
new file mode 100644
index 0000000..701d02b
--- /dev/null
+++ b/test/ExecutionEngine/test-malloc.ll
@@ -0,0 +1,11 @@
+
+int %main() {
+   %X = malloc int                ; constant size
+   %Y = malloc int, uint 100      ; constant size
+   %u = add uint 1, 2
+   %Z = malloc int, uint %u       ; variable size
+   free int* %X
+   free int* %Y
+   free int* %Z
+   ret int 0
+}