1# REQUIRES: x86 2# Verify that default output filename is a.out. 3 4# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t 5# RUN: mkdir -p %t.dir 6# RUN: cd %t.dir 7# RUN: rm -f a.out 8# RUN: not llvm-readobj a.out > /dev/null 2>&1 9# RUN: ld.lld %t 10# RUN: llvm-readobj a.out > /dev/null 2>&1 11 12# RUN: not ld.lld %t -o 2>&1 | FileCheck --check-prefix=NO_O_VAL %s 13# NO_O_VAL: error: -o: missing argument 14 15.globl _start 16_start: 17 mov $60, %rax 18 mov $42, %rdi 19 syscall 20