summaryrefslogtreecommitdiff
path: root/test/MC/MachO/bad-darwin-x86_64-reloc-expr.s
blob: 2b4271f349dcc4cfd8033fd91c0e614a7f76caee (plain)
1
2
3
4
5
6
// 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 (0x1234 + (4 * SOME_VALUE))
// CHECK-ERROR: error: expected relocatable expression
// CHECK-ERROR:               ^