aboutsummaryrefslogtreecommitdiff
path: root/test/COFF/manifestinput-error.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/COFF/manifestinput-error.test')
-rw-r--r--test/COFF/manifestinput-error.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/COFF/manifestinput-error.test b/test/COFF/manifestinput-error.test
new file mode 100644
index 000000000000..eca7d0d03927
--- /dev/null
+++ b/test/COFF/manifestinput-error.test
@@ -0,0 +1,10 @@
+# UNSUPPORTED: manifest_tool
+# UNSUPPORTED: libxml2
+
+# RUN: yaml2obj %p/Inputs/ret42.yaml > %t.obj
+# RUN: not lld-link /out:%t.exe /entry:main \
+# RUN: /manifest:embed \
+# RUN: /manifestuac:"level='requireAdministrator'" \
+# RUN: /manifestinput:%p/Inputs/manifestinput.test %t.obj 2>&1 | FileCheck %s
+
+# CHECK: error: unable to find mt.exe in PATH: No such file or directory