Rui Ueyama | d0de239 | 2018-02-02 00:27:49 +0000 | [diff] [blame] | 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 | ||||
Fangrui Song | 40a9f22 | 2018-07-02 17:48:23 +0000 | [diff] [blame] | 4 | # RUN: not ld.lld -o /dev/null %t1.exe 2>&1 | FileCheck %s |
Rui Ueyama | d0de239 | 2018-02-02 00:27:49 +0000 | [diff] [blame] | 5 | # CHECK: unknown file type |
6 | |||||
7 | .global _start | ||||
8 | _start: | ||||
9 | ret |