blob: adc82206b280908431f70c42b6194f169c50cfb7 [file] [log] [blame]
Reid Spencereacb7022006-12-31 06:02:00 +00001; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
Tanya Lattnere9789ef2004-11-06 23:32:43 +00002; RUN: lli %t.bc > /dev/null
3
Chris Lattnerf2d49162003-08-15 22:36:55 +00004; This testcase failed to work because two variable sized allocas confused the
5; local register allocator.
6
7int %main(uint %X) {
8 %A = alloca uint, uint %X
9
10 %B = alloca float, uint %X
11 ret int 0
12}