view test/MC/AsmParser/undefined-local-symbol.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 7d135dc70f03
children
line wrap: on
line source

# RUN: not llvm-mc -triple i386-apple-darwin -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s

# NOTE: apple-darwin portion of the triple is to enforce the convention choice
#       of what an assembler local symbol looks like (i.e., 'L' prefix.)

# CHECK: error: assembler local symbol 'Lbar' not defined
foo:
  jmp Lbar