New testcase identified by misha, distilled from the 'ls' program


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7909 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll b/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll
new file mode 100644
index 0000000..35248d1
--- /dev/null
+++ b/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll
@@ -0,0 +1,9 @@
+; This testcase failed to work because two variable sized allocas confused the
+; local register allocator.
+
+int %main(uint %X) {
+  %A = alloca uint, uint %X
+
+  %B = alloca float, uint %X
+  ret int 0
+}