1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
3# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
4
5# CHECK: error: undefined symbol: foo
6
7.global _start
8_start:
9 jmp foo
10
11.local foo
12