1 ; RUN: llc -mtriple=aarch64-win32 %s -o - | FileCheck %s
3 declare void @callee() noreturn
5 ; Make sure the call isn't the last instruction in the function; if it is,
8 ; (The instruction after the call doesn't have to be anything in particular,
9 ; but trapping has the nice side-effect of catching bugs.)
11 define void @test_unreachable() {
12 ; CHECK-LABEL: test_unreachable:
14 ; CHECK-NEXT: brk #0x1
15 call void @callee() noreturn