msg_012.c revision 1.3
1/* $NetBSD: msg_012.c,v 1.3 2021/08/26 19:23:25 rillig Exp $ */ 2# 3 "msg_012.c" 3 4// Test for message: compiler takes size of function [12] 5/* This message is not used. */ 6 7unsigned long 8example(void) 9{ 10 /* expect+1: error: cannot take size/alignment of function [144] */ 11 return sizeof(example); 12} 13