c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / c-c++-common / Wbidi-chars-11.c
blobea83029d6b99718c7851d4ba2cb0178ef7fb9b40
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. */
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 } */