Blame cpp-test/test-t/u_1_5.c

Packit Service 8bf002
/* u_1_5.c:     Undefined behaviors on illegal characters.  */
Packit Service 8bf002
Packit Service 8bf002
/* { dg-do preprocess } */
Packit Service 8bf002
Packit Service 8bf002
/* u.1.5:   Illegal characters (in other than string literal, character
Packit Service 8bf002
        constant, header-name or comment).  */
Packit Service 8bf002
#if     1 ||?2?
Packit Service 8bf002
/*     0x1e ^ ^ 0x1f    */
Packit Service 8bf002
/* { dg-error "invalid character| Invalid token| is not valid | Illegal control character 0x1e, \[a-z \]*\n\[\^ \]* error: Illegal" "" { target *-*-* } 7 } */
Packit Service 8bf002
#endif  /* Maybe the second error.  */
Packit Service 8bf002
Packit Service 8bf002
/* u.1.6:   [VT], [FF] in directive line.   */
Packit Service 8bf002
#if     1 ||?2
Packit Service 8bf002
/*     [VT] ^ ^ [FF]    */
Packit Service 8bf002
/* { dg-error "vertical tab in preprocessing directive| Converted 0x0b to a space" "" { target *-*-* } 13 } */
Packit Service 8bf002
/* { dg-error "form feed in preprocessing directive| Converted 0x0c to a space" "" { target *-*-* } 13 } */
Packit Service 8bf002
#endif  /* Maybe the second error.  */
Packit Service 8bf002