blob: bba85ede97fe0f06828e95453e9690793fca2945 [file] [log] [blame]
/* Test that missing user headers are fatal errors with -MMD. PR 28435. */
/* { dg-do compile } */
/* { dg-options "-MMD" } */
#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;