xref: /llvm-project/llvm/test/CodeGen/SystemZ/zos-no-eh-label.ll (revision d5022d9ad4aec250f77d21c819a9810a97b8b6a8)
1; RUN: llc -mtriple s390x-ibm-zos < %s | FileCheck %s
2
3define signext i32 @_Z9computeitv() personality ptr @__zos_cxx_personality_v2 {
4  ret i32 0
5}
6
7declare i32 @__zos_cxx_personality_v2(...)
8
9; The personality function is unused, therefore check that it is not referenced.
10; There should also be no exception table.
11; CHECK-NOT: __zos_cxx_personality_v2
12; CHECK-NOT: GCC_except_table
13