# RUN: yaml2obj %p/Inputs/nop.obj.yaml > %t.obj
# RUN: lld -flavor link /out:%t1.exe /subsystem:console /force \
# RUN: -- %t.obj
# RUN: FileCheck -check-prefix=MANIFEST %s < %t1.exe.manifest
MANIFEST:
MANIFEST:
MANIFEST:
MANIFEST:
MANIFEST:
MANIFEST:
MANIFEST:
MANIFEST:
MANIFEST:
MANIFEST:
# RUN: lld -flavor link /out:%t2.exe /subsystem:console /force \
# RUN: /manifestuac:"level='requireAdministrator' uiAccess='true'" -- %t.obj
# RUN: FileCheck -check-prefix=UAC %s < %t2.exe.manifest
UAC:
UAC:
UAC:
UAC:
UAC:
UAC:
UAC:
UAC:
UAC:
UAC:
# RUN: lld -flavor link /out:%t3.exe /subsystem:console /force \
# RUN: /manifestdependency:"foo='bar'" -- %t.obj
# RUN: FileCheck -check-prefix=DEPENDENCY %s < %t3.exe.manifest
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
# RUN: lld -flavor link /out:%t4.exe /subsystem:console /force \
# RUN: /manifestuac:no -- %t.obj
# RUN: FileCheck -check-prefix=NOUAC %s < %t4.exe.manifest
NOUAC:
NOUAC:
NOUAC: