zig/deps/lld/test/ELF/no-obj.s

11 lines
295 B
ArmAsm
Raw Normal View History

// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
2019-02-08 06:07:18 +08:00
// RUN: rm -f %t.a
// RUN: llvm-ar rcs %t.a %t.o
2018-08-05 05:47:16 +08:00
// RUN: not ld.lld -o /dev/null -u _start %t.a 2>&1 | FileCheck %s
// CHECK: target emulation unknown: -m or at least one .o file required
.global _start
_start: