2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / include2.c
blob60edfccb0cd658181e7bf2658204a16cf87c588b
1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
5 /* Tests that #include does not allow the terminating '>' or '"' to be
6 escaped, as per the standard. */
8 /* Source: Neil Booth, 4 Nov 2000. */
10 #include <silly\>> /* { dg-warning "extra tokens" "" } */
11 #include "silly\"" /* { dg-warning "extra tokens" "" } */
13 /* These error is No such file or directory, just once. However, this
14 message is locale-dependent, so don't test for it. */
15 /* { dg-error "silly" "" { target *-*-* } 10 } */