xref: /llvm-project/lld/test/ELF/invalid/executable.s (revision 40a9f2251b75012d1d9ce8f86a834ffef9edfb0f)
1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
3# RUN: ld.lld -o %t1.exe %t.o
4# RUN: not ld.lld -o /dev/null %t1.exe 2>&1 | FileCheck %s
5# CHECK: unknown file type
6
7.global _start
8_start:
9  ret
10