From 42facb38e615b357ae0d8f50db5c50edaa75bbfd Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 22 Mar 2024 00:33:31 -0700 Subject: Use C23 spelling of typeof in tests --- test/initializer-string-wide.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/initializer-string-wide.c') 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"; } -- cgit v1.2.3