# REQUIRES: x86 # RUN: echo ".globl _main; .text; _main: ret" | llvm-mc -filetype=obj -triple=x86_64-apple-darwin -o %t.o # RUN: not %lld -o %t %t.o -order_file %s 2>&1 | FileCheck %s # CHECK: invalid object file name "helloo" in order file: should end with .o # CHECK: invalid object file name "z80" in order file: should end with .o # CHECK-EMPTY: _barsymbol x86_64:helloo:_foosymbol z80:_foosymbol