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" "" { target *-*-* } 0 } */ 15 /* { dg-message "terminated" "" { target *-*-* } 0 } */ 16