aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c11-utf8char-1.c
blob: 778ca0ffe2a943e723a70fc66e6db3064da08476 (plain)
1
2
3
4
5
6
7
/* Test C23 UTF-8 characters.  Test not accepted for C11.  */
/* { dg-do compile } */
/* { dg-options "-std=c11 -pedantic-errors" } */

#define z(x) 0
#define u8 z(
unsigned char a = u8'a');