20 lines · plain
1# REQUIRES: x862# Verify that default output filename is a.out.3 4# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t5# RUN: mkdir -p %t.dir6# RUN: cd %t.dir7# RUN: rm -f a.out8# RUN: not llvm-readobj a.out > /dev/null 2>&19# RUN: ld.lld %t10# RUN: llvm-readobj a.out > /dev/null 2>&111 12# RUN: not ld.lld %t -o 2>&1 | FileCheck --check-prefix=NO_O_VAL %s13# NO_O_VAL: error: -o: missing argument14 15.globl _start16_start:17 mov $60, %rax18 mov $42, %rdi19 syscall20