1/* $NetBSD: msg_144.c,v 1.6 2023/07/07 19:45:22 rillig Exp $ */ 2# 3 "msg_144.c" 3 4// Test for message: cannot take size/alignment of function type '%s' [144] 5 6/* lint1-extra-flags: -X 351 */ 7 8unsigned long 9example(void) 10{ 11 /* expect+1: error: cannot take size/alignment of function type 'function(void) returning unsigned long' [144] */ 12 return sizeof(example); 13} 14