mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-02 15:26:29 +00:00
12 lines
225 B
ArmAsm
12 lines
225 B
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
|
|
# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
# CHECK: error: undefined symbol: foo
|
|
|
|
.global _start
|
|
_start:
|
|
jmp foo
|
|
|
|
.local foo
|