Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / test / MC / MachO / bad-darwin-x86_64-diff-relocs.s
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
4 .quad _foo - _bar
5 // CHECK-ERROR: error: unsupported relocation with subtraction expression
6
7 _Y:
8 .long (_Y+4)-_b
9 // CHECK-ERROR: error: unsupported relocation with subtraction expression, symbol '_b' can not be undefined in a subtraction expression
10
11 _Z:
12 .long (_a+4)-_Z
13 // CHECK-ERROR: error: unsupported relocation with subtraction expression, symbol '_a' can not be undefined in a subtraction expression