msg_216.c revision 1.3
1/* $NetBSD: msg_216.c,v 1.3 2022/04/24 20:08:23 rillig Exp $ */ 2# 3 "msg_216.c" 3 4// Test for message: function %s has return (e); and return; [216] 5 6/* expect+2: error: old style declaration; add 'int' [1] */ 7random(int n) 8{ 9 if (n < 0) 10 return -3; 11 if (n < 2) 12 return; 13} /* expect: 216 */ 14