• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2
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
10
11# ERROR: error: ignoring unknown argument '-notarealopt=ion'
12# WARNING: warning: ignoring unknown argument '-notarealopt=ion'
13
14.text
15.global main
16main:
17	ret
18