aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/msvc_forward.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/msvc_forward.c')
-rw-r--r--test/Driver/msvc_forward.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/msvc_forward.c b/test/Driver/msvc_forward.c
new file mode 100644
index 000000000000..fe0ae84790e0
--- /dev/null
+++ b/test/Driver/msvc_forward.c
@@ -0,0 +1,5 @@
+// RUN: %clang -target i686-pc-win32 -lkernel32.lib -luser32.lib -### %s 2>&1 | FileCheck %s
+// CHECK-NOT: "-lkernel32.lib"
+// CHECK-NOT: "-luser32.lib"
+// CHECK: "kernel32.lib"
+// CHECK: "user32.lib"