xref: /llvm-project/llvm/test/Verifier/dead-on-unwind.ll (revision bf5d96c96c40e485327e8ddf4fb8f0ddae859e6f)
1; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
2
3; CHECK: Attribute 'dead_on_unwind' applied to incompatible type!
4; CHECK-NEXT: ptr @not_pointer
5define void @not_pointer(i32 dead_on_unwind %arg) {
6  ret void
7}
8