msg_236.c revision 1.6
1/* $NetBSD: msg_236.c,v 1.6 2024/09/26 20:08:02 rillig Exp $ */ 2# 3 "msg_236.c" 3 4// Test for message: static function '%s' unused [236] 5 6/* lint1-extra-flags: -X 351 */ 7 8void 9external_function(void) 10{ 11} 12 13/* expect+2: warning: static function 'static_function' unused [236] */ 14static void 15static_function(void) 16{ 17} 18 19static inline void 20inline_function(void) 21{ 22} 23 24__attribute__((__constructor__)) 25static void 26/* expect+1: warning: static function 'constructor_function' unused [236] */ 27constructor_function(void) 28{ 29} 30