summaryrefslogtreecommitdiff
path: root/test/MC/MachO/bad-indirect-symbols.s
blob: 7c16e90522c302da85c52246a3a7e28c4fd2abf4 (plain)
1
2
3
4
5
// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - 2> %t.err > %t
// RUN: FileCheck --check-prefix=CHECK-ERROR < %t.err %s

x: .indirect_symbol _y
// CHECK-ERROR: 4:4: error: indirect symbol not in a symbol pointer or stub section