blob: d4176144f5d5b390ede3f6f9437fb5899d7c8bcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef SOME_GUARD /* { dg-error "-:unterminated" } */
#if 1
/* Typo here: "endfi" should have been "endif". */
#endfi /* { dg-error "invalid preprocessing directive #endfi; did you mean #endif?" } */
int make_non_empty;
/* Another transposition typo: */
#deifne FOO /* { dg-error "invalid preprocessing directive #deifne; did you mean #define?" } */
#endif /* #ifndef SOME_GUARD */
|