aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.0/gcc/testsuite/gcc.dg/cpp/missing-header-MD.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.0/gcc/testsuite/gcc.dg/cpp/missing-header-MD.c')
-rw-r--r--gcc-4.4.0/gcc/testsuite/gcc.dg/cpp/missing-header-MD.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.4.0/gcc/testsuite/gcc.dg/cpp/missing-header-MD.c b/gcc-4.4.0/gcc/testsuite/gcc.dg/cpp/missing-header-MD.c
new file mode 100644
index 000000000..dd4617405
--- /dev/null
+++ b/gcc-4.4.0/gcc/testsuite/gcc.dg/cpp/missing-header-MD.c
@@ -0,0 +1,5 @@
+/* Test that missing user headers are fatal errors with -MD. */
+/* { dg-do compile } */
+/* { dg-options "-MD" } */
+
+#include "nonexistent.h" /* { dg-error "nonexistent.h" } */