1 /* PR preprocessor/103026 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wbidi-chars=unpaired,ucn" } */
4 /* Test LTR/RTL chars. */
7 /* { dg-bogus "unpaired" "" { target *-*-* } .-1 } */
9 /* { dg-bogus "unpaired" "" { target *-*-* } .-1 } */
11 /* { dg-bogus "unpaired" "" { target *-*-* } .-1 } */
13 /* { dg-bogus "unpaired" "" { target *-*-* } .-1 } */
15 /* { dg-error "universal character " "" { target *-*-* } .-1 } */
17 /* { dg-error "universal character " "" { target *-*-* } .-1 } */
19 const char *s1
= "LTR<>";
20 /* { dg-bogus "unpaired" "" { target *-*-* } .-1 } */
21 const char *s2
= "LTR\u200e";
22 /* { dg-bogus "unpaired" "" { target *-*-* } .-1 } */
23 const char *s3
= "LTR\u200E";
24 /* { dg-bogus "unpaired" "" { target *-*-* } .-1 } */
25 const char *s4
= "RTL<>";
26 /* { dg-bogus "unpaired" "" { target *-*-* } .-1 } */
27 const char *s5
= "RTL\u200f";
28 /* { dg-bogus "unpaired" "" { target *-*-* } .-1 } */
29 const char *s6
= "RTL\u200F";
30 /* { dg-bogus "unpaired" "" { target *-*-* } .-1 } */