summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/cl-link.c')
-rw-r--r--clang/test/Driver/cl-link.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Driver/cl-link.c b/clang/test/Driver/cl-link.c
index b3c0b64d053..026c43383cb 100644
--- a/clang/test/Driver/cl-link.c
+++ b/clang/test/Driver/cl-link.c
@@ -43,3 +43,11 @@
// RUN: %clang_cl /Zi /Tc%s -### 2>&1 | FileCheck --check-prefix=DEBUG %s
// DEBUG: link.exe
// DEBUG: "-debug"
+
+// PR27234
+// RUN: %clang_cl /Tc%s nonexistent.obj -### /link /libpath:somepath 2>&1 | FileCheck --check-prefix=NONEXISTENT %s
+// RUN: %clang_cl /Tc%s nonexistent.lib -### /link /libpath:somepath 2>&1 | FileCheck --check-prefix=NONEXISTENT %s
+// NONEXISTENT-NOT: no such file
+// NONEXISTENT: link.exe
+// NONEXISTENT: "/libpath:somepath"
+// NONEXISTENT: nonexistent
OpenPOWER on IntegriCloud