aboutsummaryrefslogtreecommitdiff
path: root/test/char-const-u8.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-03-22 00:33:31 -0700
committerMichael Forney <mforney@mforney.org>2024-03-22 00:33:31 -0700
commit42facb38e615b357ae0d8f50db5c50edaa75bbfd (patch)
treec516a92ac30d98111a2c65e26eb13a25e5fed80d /test/char-const-u8.c
parentd1d23429f5dc3d78b03b318a7d349ad71a6c97fa (diff)
Use C23 spelling of typeof in tests
Diffstat (limited to 'test/char-const-u8.c')
-rw-r--r--test/char-const-u8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/char-const-u8.c b/test/char-const-u8.c
index 9f20452..08d80e0 100644
--- a/test/char-const-u8.c
+++ b/test/char-const-u8.c
@@ -1,3 +1,3 @@
unsigned char u8 = u8'a';
-_Static_assert(__builtin_types_compatible_p(__typeof__(u8'b'), unsigned char),
+_Static_assert(__builtin_types_compatible_p(typeof(u8'b'), unsigned char),
"UTF-8 character constant has incorrect type");