xref: /aosp_15_r20/external/llvm/test/MC/MachO/undefined-directional.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: not llvm-mc -triple x86_64-apple-macosx -filetype=obj -o /dev/null %s 2>&1 | FileCheck  %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: directional label undefined
4*9880d681SAndroid Build Coastguard Worker        jmp 1b
5*9880d681SAndroid Build Coastguard Worker// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: directional label undefined
6*9880d681SAndroid Build Coastguard Worker        jmp 1f
7*9880d681SAndroid Build Coastguard Worker# 10 "wibble.s"
8*9880d681SAndroid Build Coastguard Worker// CHECK: wibble.s:11:{{[0-9]+}}: error: directional label undefined
9*9880d681SAndroid Build Coastguard Worker        jmp 2f
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker# 42 "invalid.s"
12