repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lld
/
test
/
MachO
/
invalid
/
invalid-executable.s
blob
a773b0468b240acc419902716d5f7fad27551e71
1
# REQUIRES: x86
2
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-darwin %s -o %t.o
3
# RUN: %lld -o %t %t.o
4
# RUN: not %lld -o /dev/null %t 2>&1 | FileCheck %s -DFILE=%t
5
# CHECK: error: [[FILE]]: unhandled file type
6
7
.text
8
.global _main
9
_main
:
10
mov $
0
, %
rax
11
ret