summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_190.c
blob: 5045ebe9c102dc578ef43299e649f4c1a9b5056e (plain)
1
2
3
4
5
6
7
8
9
10
11
/*	$NetBSD: msg_190.c,v 1.5 2023/03/28 14:44:35 rillig Exp $	*/
# 3 "msg_190.c"

// Test for message: empty array declaration for '%s' [190]

/* lint1-extra-flags: -X 351 */

/* expect+1: error: empty array declaration for 'empty_array' [190] */
double empty_array[] = {};

double array[] = { 1 };