Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / directives-unsupported.s
blob1b8231178df834b4fa94e3b72bea4b555378ac49
1 # REQUIRES: x86
3 # RUN: llvm-mc -triple=x86_64-windows %s -filetype=obj -o %t.obj
5 # RUN: not lld-link -dll -out:%t.dll -entry:entry %t.obj -subsystem:console 2>&1 | FileCheck %s
7 # CHECK: warning: ignoring unknown argument: -unknowndirectivename
8 # CHECK: error: -unknowndirectivename is not allowed in .drectve ({{.*}}.obj)
10 .global entry
11 .text
12 entry:
13 ret
14 .section .drectve
15 .ascii " -unknowndirectivename "