Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/include2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 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 } */ |