Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/dir-only-3.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* Copyright 2007 Free Software Foundation, Inc. |
2 Contributed by Ollie Wild <aaw@google.com>. */ | |
3 | |
4 /* { dg-do preprocess } */ | |
5 /* { dg-options "-fdirectives-only -H" } */ | |
6 /* { dg-message "dir-only-3a\.h\n\[^\n\]*dir-only-3b\.h\n\[^\n\]*dir-only-3a\.h\n" "include guard check" { target *-*-* } 0 } */ | |
7 | |
8 /* Tests include guards. */ | |
9 | |
10 #include "dir-only-3a.h" | |
11 #include "dir-only-3b.h" | |
12 #include "dir-only-3b.h" | |
13 #include "dir-only-3a.h" |