MC: Don't crash after issuing a diagnostic.
[oota-llvm.git] / test / MC / AsmParser / undefined-local-symbol.s
1 # RUN: not llvm-mc -triple i386-apple-darwin -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s
2
3 # NOTE: apple-darwin portion of the triple is to enforce the convention choice
4 #       of what an assembler local symbol looks like (i.e., 'L' prefix.)
5
6 # CHECK: error: assembler local symbol 'Lbar' not defined
7 foo:
8   jmp Lbar