aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/Wbidi-chars-8.c
blob: 3983168c9f1e3a08ba88283692b8b0c81c280b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR preprocessor/103026 */
/* { dg-do compile } */
/* { dg-options "-Wbidi-chars=any,ucn" } */
/* Test \u vs \U.  */

int a_\u202A;
/* { dg-warning "U\\+202A" "" { target *-*-* } .-1 } */
int a_\u202a_2;
/* { dg-warning "U\\+202A" "" { target *-*-* } .-1 } */
int a_\U0000202A_3;
/* { dg-warning "U\\+202A" "" { target *-*-* } .-1 } */
int a_\U0000202a_4;
/* { dg-warning "U\\+202A" "" { target *-*-* } .-1 } */