aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/Wp-args.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/Wp-args.c')
-rw-r--r--test/Driver/Wp-args.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Driver/Wp-args.c b/test/Driver/Wp-args.c
index 0ab85b4c9c76..1d1af24804a1 100644
--- a/test/Driver/Wp-args.c
+++ b/test/Driver/Wp-args.c
@@ -11,3 +11,11 @@
// CHECK: "-MT"
//
// PR4062
+
+// RUN: %clang --target i386-pc-linux-gnu -### \
+// RUN: -Wp,-MMD -fsyntax-only %s 2> %t
+// RUN: FileCheck -check-prefix MMD < %t %s
+
+// MMD: "-cc1"
+// MMD-NOT: -MMD
+// MMD: "-dependency-file" "Wp-args.d"