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'