1# REQUIRES: x86 2 3# RUN: llvm-mc -triple=x86_64-windows %s -filetype=obj -o %t.obj 4 5# RUN: not lld-link -dll -out:%t.dll -entry:entry %t.obj -subsystem:console 2>&1 | FileCheck %s 6 7# CHECK: warning: ignoring unknown argument: -unknowndirectivename 8# CHECK: error: -unknowndirectivename is not allowed in .drectve ({{.*}}.obj) 9 10 .global entry 11 .text 12entry: 13 ret 14 .section .drectve 15 .ascii " -unknowndirectivename " 16