xref: /aosp_15_r20/external/llvm/test/MC/AsmParser/undefined-local-symbol.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc -triple i386-apple-darwin -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker# NOTE: apple-darwin portion of the triple is to enforce the convention choice
4*9880d681SAndroid Build Coastguard Worker#       of what an assembler local symbol looks like (i.e., 'L' prefix.)
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker# CHECK: error: assembler local symbol 'Lbar' not defined
7*9880d681SAndroid Build Coastguard Workerfoo:
8*9880d681SAndroid Build Coastguard Worker  jmp Lbar
9