Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / CodeGen / Generic / trap.ll
blob67d1a7a347f383d0a701a7fce069d07d87156bf1
1 ; RUN: llc < %s
2 define i32 @test() noreturn nounwind  {
3 entry:
4         tail call void @llvm.trap( )
5         unreachable
8 declare void @llvm.trap() nounwind