16 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -triple=x86_64-windows %s -filetype=obj -o %t.obj4 5# RUN: not lld-link -dll -out:%t.dll -entry:entry %t.obj -subsystem:console 2>&1 | FileCheck %s6 7# CHECK: warning: ignoring unknown argument: -unknowndirectivename8# CHECK: error: -unknowndirectivename is not allowed in .drectve ({{.*}}.obj)9 10 .global entry11 .text12entry:13 ret14 .section .drectve15 .ascii " -unknowndirectivename "16