Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/misspelled-directive-1.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
131 | 1 #ifndef SOME_GUARD /* { dg-error "-:unterminated" } */ |
111 | 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 */ |