12 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o3# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s4 5# CHECK: error: undefined symbol: foo6 7.global _start8_start:9 jmp foo10 11.local foo12