summaryrefslogtreecommitdiff
path: root/test/MC/MachO/bad-darwin-x86_64-diff-relocs.s
blob: 1ccebc5124c370b6436e1b5d908594c6a43d20a3 (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

.quad _foo - _bar
// CHECK-ERROR: unsupported relocation with subtraction expression