aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-string-wide.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/initializer-string-wide.c
parentd1d23429f5dc3d78b03b318a7d349ad71a6c97fa (diff)
Use C23 spelling of typeof in tests
Diffstat (limited to 'test/initializer-string-wide.c')
-rw-r--r--test/initializer-string-wide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/initializer-string-wide.c b/test/initializer-string-wide.c
index 85b8019..2a09718 100644
--- a/test/initializer-string-wide.c
+++ b/test/initializer-string-wide.c
@@ -2,12 +2,12 @@ char s[] = "aα€😀\xAA\xBBBB\xCCCCCCCC";
char u8[] = u8"aα€😀\xAA\xBBBB\xCCCCCCCC";
unsigned short u[] = u"aα€😀\xAA\xBBBB\xCCCCCCCC";
unsigned U[] = U"aα€😀\xAA\xBBBB\xCCCCCCCC";
-__typeof__(L' ') L[] = L"aα€😀\xAA\xBBBB\xCCCCCCCC";
+typeof(L' ') L[] = L"aα€😀\xAA\xBBBB\xCCCCCCCC";
void f(void) {
char s[] = "aα€😀\xAA\xBBBB\xCCCCCCCC";
char u8[] = u8"aα€😀\xAA\xBBBB\xCCCCCCCC";
unsigned short u[] = u"aα€😀\xAA\xBBBB\xCCCCCCCC";
unsigned U[] = U"aα€😀\xAA\xBBBB\xCCCCCCCC";
- __typeof__(L' ') L[] = L"aα€😀\xAA\xBBBB\xCCCCCCCC";
+ typeof(L' ') L[] = L"aα€😀\xAA\xBBBB\xCCCCCCCC";
}