msg_216.c revision 1.4
1/*	$NetBSD: msg_216.c,v 1.4 2022/06/16 21:24:41 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}
14/* expect-1: warning: function random has return (e); and return; [216] */
15