summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_149.c
blob: af8bff72c7be92299afe83d5071527aa499189b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*	$NetBSD: msg_149.c,v 1.5 2023/07/07 19:45:22 rillig Exp $	*/
# 3 "msg_149.c"

// Test for message: cannot call '%s', must be a function [149]

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

void
example(int i)
{
	i++;
	/* expect+1: error: cannot call 'int', must be a function [149] */
	i(3);
}