Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / CodeGen / ARM / 2008-07-24-CodeGenPrepCrash.ll
blob83fde07779bc0305280069e6c556393c226985da
1 ; RUN: llc < %s -march=arm
2 ; PR2589
4 define void @main({ i32 }*) {
5 entry:
6         %sret1 = alloca { i32 }         ; <{ i32 }*> [#uses=1]
7         load { i32 }* %sret1            ; <{ i32 }>:1 [#uses=0]
8         ret void