aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/Wbidi-chars-21.c
blob: 2720b8a883ec35a0712f00c2b29b9b5257e00371 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR preprocessor/104030 */
/* { dg-do compile } */
/* { dg-options "-Wbidi-chars=ucn,any" } */

const char *
fn ()
{
  const char *aText = "\u202D" "abc";
/* { dg-warning "U\\+202D" "" { target *-*-* } .-1 } */
  return aText;
}