[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / MachO / bad-darwin-x86_64-diff-relocs.s
blob36b5f95792423508171ee88b4bdd98b90d8f882e
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
4 .quad _foo - _bar
5 // CHECK-ERROR: error: unsupported relocation with subtraction expression
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
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