aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/missing-header-1.c
blob: 30e92ad323df9338c524d3ce9028a6a0d44be891 (plain)
1
2
3
4
5
6
7
8
/* { dg-options "-fdiagnostics-show-caret" } */
#include "this-file-does-not-exist.h" /* { dg-error "10: this-file-does-not-exist.h: No such file or directory" } */

/* { dg-begin-multiline-output "" }
 #include "this-file-does-not-exist.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
   { dg-end-multiline-output "" } */