xref: /aosp_15_r20/external/llvm/test/MC/MachO/variable-errors.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o %t.o 2> %t.err
2*9880d681SAndroid Build Coastguard Worker// RUN: FileCheck < %t.err %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker        .data
5*9880d681SAndroid Build Coastguard Workert0_a:
6*9880d681SAndroid Build Coastguard Workert0_x = t0_a - t0_b
7*9880d681SAndroid Build Coastguard Worker// CHECK: unable to evaluate offset to undefined symbol 't0_b'
8*9880d681SAndroid Build Coastguard Worker	.long	t0_x
9