aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/c23-ucnid-1-utf8.c
blob: a216e77daf72f7fb28b1f624a03162915218dd52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Test C23 (= Unicode) rules for characters in identifiers.  */
/* { dg-do preprocess } */
/* { dg-options "-std=c23 -pedantic-errors" } */

¨

/* The requirement for NFC only applies in identifiers, not pp-numbers.  *//* { dg-error "not in NFC" } */
ÿÀ /* { dg-error "not in NFC" } */

0/* { dg-warning "not in NFC" } */
.1/* { dg-warning "not in NFC" } */