xref: /llvm-project/lld/test/COFF/inferasanlibs.test (revision 8fa0cfeb61a12ad5ca7830a8228155de32aa7ab2)
1# RUN: yaml2obj %p/Inputs/ret42.yaml -o %t.obj
2
3# RUN: lld-link /out:%t.exe /entry:main %t.obj /inferasanlibs 2>&1 | FileCheck --check-prefix=POS %s
4# RUN: lld-link /out:%t.exe /entry:main %t.obj /inferasanlibs:no 2>&1 | FileCheck --allow-empty --check-prefix=NEG %s
5
6POS: ignoring '/inferasanlibs', this flag is not supported
7
8NEG-NOT: ignoring '/inferasanlibs', this flag is not supported
9