Mark that the return is using EAX so that we don't use it for some other
[llvm.git] / test / ExecutionEngine / 2003-08-15-AllocaAssertion.ll
blob5970628eaedf6ab8b9ebe020e9c774370e45269e
1 ; RUN: lli %s > /dev/null
3 ; This testcase failed to work because two variable sized allocas confused the
4 ; local register allocator.
6 define i32 @main(i32 %X) {
7         %A = alloca i32, i32 %X         ; <i32*> [#uses=0]
8         %B = alloca float, i32 %X               ; <float*> [#uses=0]
9         ret i32 0