blob: dbcc2b36167030b986a6f9ad85b6ef139359e921 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* 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;
|