diff --git a/lld/test/pecoff/manifest.test b/lld/test/pecoff/manifest.test
index 550a2a03bf2d..33229a45516b 100644
--- a/lld/test/pecoff/manifest.test
+++ b/lld/test/pecoff/manifest.test
@@ -4,7 +4,7 @@
# RUN: -- %t.obj
# RUN: FileCheck -check-prefix=MANIFEST %s < %t1.exe.manifest
-MANIFEST: ?xml version="1.0" standalone="yes"?>
+MANIFEST:
MANIFEST:
MANIFEST:
@@ -20,7 +20,7 @@ MANIFEST:
# RUN: /manifestuac:"level='requireAdministrator' uiAccess='true'" -- %t.obj
# RUN: FileCheck -check-prefix=UAC %s < %t2.exe.manifest
-UAC: ?xml version="1.0" standalone="yes"?>
+UAC:
UAC:
UAC:
@@ -36,7 +36,7 @@ UAC:
# RUN: /manifestdependency:"foo='bar'" -- %t.obj
# RUN: FileCheck -check-prefix=DEPENDENCY %s < %t3.exe.manifest
-DEPENDENCY: ?xml version="1.0" standalone="yes"?>
+DEPENDENCY:
DEPENDENCY:
DEPENDENCY:
@@ -52,3 +52,12 @@ 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: