Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/include2a.c

raw
1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
2
3 /* { dg-do preprocess } */
4
5 /* Tests that #include does not allow the terminating '>' or '"' to be
6 escaped, as per the standard. */
7
8 /* Source: Neil Booth, 4 Nov 2000. */
9
10 #include "silly\"" /* { dg-error "extra tokens" } */
11
12 /* These error is No such file or directory, just once. However, this
13 message is locale-dependent, so don't test for it. */
14 /* { dg-error "silly" "silly" { target *-*-* } 0 } */
15 /* { dg-error "missing" "missing" { target *-*-* } 0 } */
16 /* { dg-message "terminated" "terminated" { target *-*-* } 0 } */