468663ddbb
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
18 lines
619 B
ArmAsm
18 lines
619 B
ArmAsm
# REQUIRES: x86
|
|
|
|
# RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s
|
|
# RUN: not lld-link /out:%t.exe /entry:main -notarealoption /WX %t.obj 2>&1 | \
|
|
# RUN: FileCheck -check-prefix=ERROR %s
|
|
# RUN: not lld-link /out:%t.exe /entry:main -notarealoption /WX:NO /WX %t.obj 2>&1 | \
|
|
# RUN: FileCheck -check-prefix=ERROR %s
|
|
# RUN: lld-link /out:%t.exe /entry:main -notarealoption /WX /WX:NO %t.obj 2>&1 | \
|
|
# RUN: FileCheck -check-prefix=WARNING %s
|
|
|
|
# ERROR: error: ignoring unknown argument: -notarealoption
|
|
# WARNING: warning: ignoring unknown argument: -notarealoption
|
|
|
|
.text
|
|
.global main
|
|
main:
|
|
ret
|