xref: /aosp_15_r20/external/llvm/test/MC/MachO/bad-indirect-symbols.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - 2> %t.err > %t
2// RUN: FileCheck --check-prefix=CHECK-ERROR < %t.err %s
3
4x: .indirect_symbol _y
5// CHECK-ERROR: 4:4: error: indirect symbol not in a symbol pointer or stub section
6