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