aboutsummaryrefslogtreecommitdiff
path: root/test/char-const-u8.c
blob: 08d80e0e2ca7a440281615c9b5bfff7e43874515 (plain)
1
2
3
unsigned char u8 = u8'a';
_Static_assert(__builtin_types_compatible_p(typeof(u8'b'), unsigned char),
	"UTF-8 character constant has incorrect type");