11 lines
320 B
C
11 lines
320 B
C
/* Test that missing headers are fatal errors. PR 15638. */
|
|
/* { dg-do compile } */
|
|
/* { dg-options "" } */
|
|
|
|
#include "nonexistent.h"
|
|
/* { dg-message "nonexistent.h" "" { target *-*-* } 0 } */
|
|
/* { dg-message "terminated" "" { target *-*-* } 0 } */
|
|
|
|
/* This declaration should not receive any diagnostic. */
|
|
foo bar;
|