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 8 enum E { 9 E1 10 }; 11 12 void sink_enum(enum E); 13 void sink_int(int); 14 15 enum E 16 returning_enum(int i) 17 { 18 return i; /* expect: 279 */ 19 } 20 21 int 22 returning_int(enum E e) 23 { 24 return e; /* expect: 279 */ 25 } 26