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: error: invalid arch "sparc" in order file:  expected one of arm, arm64, i386, x86_64, ppc, ppc64
5# CHECK-EMPTY:
6
7_barsymbol
8sparc:hello.o:_foosymbol
9i386:hello.o:_foosymbol
10