Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/misspelled-directive-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
rev | line source |
---|---|
111 | 1 #ifndef SOME_GUARD /* { dg-error "unterminated" } */ |
2 | |
3 #if 1 | |
4 /* Typo here: "endfi" should have been "endif". */ | |
5 #endfi /* { dg-error "invalid preprocessing directive #endfi; did you mean #endif?" } */ | |
6 | |
7 int make_non_empty; | |
8 | |
9 /* Another transposition typo: */ | |
10 #deifne FOO /* { dg-error "invalid preprocessing directive #deifne; did you mean #define?" } */ | |
11 | |
12 #endif /* #ifndef SOME_GUARD */ |