blob: 2983f2d58518ecdead94c2bb92c0a73a11f237f6 [file] [log] [blame]
/* Test that missing system headers are fatal errors with -MD. PR 28435. */
/* { dg-do compile } */
/* { dg-options "-MD" } */
#include <nonexistent.h>
/* { dg-message "nonexistent.h" "nonexistent.h" { target *-*-* } 0 } */
/* { dg-message "terminated" "terminated" { target *-*-* } 0 } */
/* This declaration should not receive any diagnostic. */
foo bar;