blob: 254075146e1530fe80e2c495cfbd96f71da5f424 [file] [log] [blame]
Rui Ueyamad0de2392018-02-02 00:27:49 +00001# 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
Fangrui Song40a9f222018-07-02 17:48:23 +00004# RUN: not ld.lld -o /dev/null %t1.exe 2>&1 | FileCheck %s
Rui Ueyamad0de2392018-02-02 00:27:49 +00005# CHECK: unknown file type
6
7.global _start
8_start:
9 ret