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