| 1 |
/* PR preprocessor/103026 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-Wbidi-chars=unpaired,ucn" } */ |
| 4 |
/* Test that we warn when mixing UCN and UTF-8. */ |
| 5 |
|
| 6 |
int LRE__PDF_\u202c; |
| 7 |
/* { dg-warning "mismatch" "" { target *-*-* } .-1 } */ |
| 8 |
int LRE_\u202a_PDF__; |
| 9 |
/* { dg-warning "mismatch" "" { target *-*-* } .-1 } */ |
| 10 |
const char *s1 = "LRE__PDF_\u202c"; |
| 11 |
/* { dg-warning "mismatch" "" { target *-*-* } .-1 } */ |
| 12 |
const char *s2 = "LRE_\u202a_PDF_"; |
| 13 |
/* { dg-warning "mismatch" "" { target *-*-* } .-1 } */ |