1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
3# RUN: not %lld -filelist nonexistent %t.o -o %t 2>&1 | FileCheck %s
4# CHECK: cannot open nonexistent: {{N|n}}o such file or directory
5
6.globl _main
7
8_main:
9  ret
10