xref: /llvm-project/lld/test/COFF/inferasanlibs-drectve.s (revision 8fa0cfeb61a12ad5ca7830a8228155de32aa7ab2)
1# REQUIRES: x86
2
3# RUN: llvm-mc -triple=x86_64-windows %s -filetype=obj -o %t.obj
4
5# RUN: lld-link -dll -out:%t.dll -entry:entry %t.obj -subsystem:console 2>&1 | FileCheck --allow-empty --ignore-case %s
6
7# CHECK-NOT: ignoring unknown argument
8# CHECK-NOT: inferasanlibs
9# CHECK-NOT: is not allowed in .drectve
10
11  .global entry
12  .text
13entry:
14  ret
15  .section .drectve
16  .ascii " /INFERASANLIBS "
17