summaryrefslogtreecommitdiff
path: root/clang/test/Driver/mg.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/mg.c')
-rw-r--r--clang/test/Driver/mg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Driver/mg.c b/clang/test/Driver/mg.c
new file mode 100644
index 0000000..4f43814
--- /dev/null
+++ b/clang/test/Driver/mg.c
@@ -0,0 +1,5 @@
+// RUN: %clang -M -MG -include nonexistent-preinclude.h %s > %t
+// RUN: fgrep nonexistent-preinclude.h %t
+// RUN: fgrep nonexistent-ppinclude.h %t
+
+#include "nonexistent-ppinclude.h"