xref: /aosp_15_r20/external/llvm/test/MC/MachO/bad-darwin-x86_64-reloc-expr.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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 (0x1234 + (4 * SOME_VALUE))
5// CHECK-ERROR: error: expected relocatable expression
6// CHECK-ERROR:               ^
7