/* $NetBSD: msg_349.c,v 1.1 2022/05/12 20:49:21 rillig Exp $ */ # 3 "msg_349.c" // Test for message 349: non type argument to alignof is a GCC extension [348] /* lint1-flags: -S -w */ unsigned long c11_type = _Alignof(int); /* expect+1: warning: non type argument to alignof is a GCC extension [349] */ unsigned long c11_expr = _Alignof(3); unsigned long gcc_type = __alignof__(int); /* expect+1: warning: non type argument to alignof is a GCC extension [349] */ unsigned long gcc_expr = __alignof__(3);