xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_015.c (revision 4724848cf0da353df257f730694b7882798e5daf)
1 /*	$NetBSD: msg_015.c,v 1.5 2023/03/28 14:44:34 rillig Exp $	*/
2 # 3 "msg_015.c"
3 
4 // Test for message: function returns illegal type '%s' [15]
5 
6 /* lint1-extra-flags: -X 351 */
7 
8 typedef int array[5];
9 
10 /* expect+1: error: function returns illegal type 'array[5] of int' [15] */
11 array invalid(void);
12