aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/cpp/delimited-escape-seq-2.c
blob: b23b83f23b7103b4c2ea51ec386496d9448836e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* P2290R3 - Delimited escape sequences */
/* { dg-do compile } */
/* { dg-options "-std=gnu99 -Wno-c++-compat" { target c } } */
/* { dg-options "-std=c++23" { target c++ } } */

int jalape\u{f1}o = 42;

int
caf\u{000e9} (void)
{
  return jalape\u00F1o;
}

int
test (void)
{
  return caf\u00e9 ();
}