1// REQUIRES: x86 2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o 3// RUN: rm -f %t.a 4// RUN: llvm-ar rcs %t.a %t.o 5// RUN: not ld.lld -o /dev/null -u _start %t.a 2>&1 | FileCheck %s 6 7// CHECK: target emulation unknown: -m or at least one .o file required 8 9.global _start 10_start: 11