msg_279.c revision 1.3
1/* $NetBSD: msg_279.c,v 1.3 2021/02/27 18:01:29 rillig Exp $ */ 2# 3 "msg_279.c" 3 4// Test for message: combination of '%s' and '%s' in return [279] 5 6/* lint1-extra-flags: -e */ 7 8enum E { 9 E1 10}; 11 12void sink_enum(enum E); 13void sink_int(int); 14 15enum E 16returning_enum(int i) 17{ 18 return i; /* expect: 279 */ 19} 20 21int 22returning_int(enum E e) 23{ 24 return e; /* expect: 279 */ 25} 26