Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/cpp/include2a.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 (2017-10-27) |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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 } */ |