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

// Test for message: cannot initialize extern declaration '%s' [26]

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

/* expect+1: warning: cannot initialize extern declaration 'used' [26] */
extern int used = 1;
int defined = 1;