# RUN: yaml2obj %p/Inputs/ret42.yaml > %t.obj # RUN: rm -f %t.exe.manifest # RUN: lld-link /out:%t.exe /entry:main %t.obj # RUN: test ! -e %t.exe.manifest # RUN: lld-link /manifest /out:%t.exe /entry:main %t.obj # RUN: FileCheck -check-prefix=MANIFEST %s < %t.exe.manifest MANIFEST: MANIFEST: MANIFEST: MANIFEST: MANIFEST: MANIFEST: MANIFEST: MANIFEST: MANIFEST: MANIFEST: # RUN: lld-link /out:%t.exe /entry:main /manifest \ # RUN: /manifestuac:"level='requireAdministrator' uiAccess='true'" %t.obj # RUN: FileCheck -check-prefix=UAC %s < %t.exe.manifest UAC: UAC: UAC: UAC: UAC: UAC: UAC: UAC: UAC: UAC: # /manifestdependency implies /manifest. (/manifestuac doesn't.) # RUN: lld-link /out:%t.exe /entry:main \ # RUN: /manifestdependency:"foo='bar'" %t.obj # RUN: FileCheck -check-prefix=DEPENDENCY %s < %t.exe.manifest DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: DEPENDENCY: # RUN: lld-link /manifest /out:%t.exe /entry:main /manifestuac:no \ # RUN: /manifestdependency:"foo='bar'" %t.obj # RUN: FileCheck -check-prefix=NOUAC %s < %t.exe.manifest NOUAC: NOUAC: NOUAC: NOUAC: NOUAC: NOUAC: NOUAC: NOUAC: # RUN: lld-link /manifest /out:%t.exe /entry:main /manifestuac:no %t.obj # RUN: FileCheck -check-prefix=NOUACNODEP %s < %t.exe.manifest NOUACNODEP: NOUACNODEP: NOUACNODEP: