14 lines · plain
1// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - 2> %t.err > %t2// RUN: FileCheck --check-prefix=CHECK-ERROR < %t.err %s3 4.quad _foo - _bar5// CHECK-ERROR: error: unsupported relocation with subtraction expression6 7_Y:8.long (_Y+4)-_b9// CHECK-ERROR: error: unsupported relocation with subtraction expression, symbol '_b' can not be undefined in a subtraction expression10 11_Z:12.long (_a+4)-_Z13// CHECK-ERROR: error: unsupported relocation with subtraction expression, symbol '_a' can not be undefined in a subtraction expression14