[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / lld / test / COFF / wx.s
blob21c3ca35f528c13d0cdd62392699c8c1aa5412a3
1 # REQUIRES: x86
3 # RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s
4 # RUN: not lld-link /out:%t.exe /entry:main -notarealopt=ion /WX %t.obj 2>&1 | \
5 # RUN: FileCheck -check-prefix=ERROR %s
6 # RUN: not lld-link /out:%t.exe /entry:main -notarealopt=ion /WX:NO /WX %t.obj 2>&1 | \
7 # RUN: FileCheck -check-prefix=ERROR %s
8 # RUN: lld-link /out:%t.exe /entry:main -notarealopt=ion /WX /WX:NO %t.obj 2>&1 | \
9 # RUN: FileCheck -check-prefix=WARNING %s
11 # ERROR: error: ignoring unknown argument '-notarealopt=ion'
12 # WARNING: warning: ignoring unknown argument '-notarealopt=ion'
14 .text
15 .global main
16 main:
17 ret