aboutsummaryrefslogtreecommitdiff
path: root/test/char-const-u8.c
blob: 9f2045213eb6e3b51a06352f8802b15144bc32d4 (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");