xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_149.c (revision e6298b924c5ba98f3a22919b56dab04a87cdbb1c)
1 /*	$NetBSD: msg_149.c,v 1.5 2023/07/07 19:45:22 rillig Exp $	*/
2 # 3 "msg_149.c"
3 
4 // Test for message: cannot call '%s', must be a function [149]
5 
6 /* lint1-extra-flags: -X 351 */
7 
8 void
example(int i)9 example(int i)
10 {
11 	i++;
12 	/* expect+1: error: cannot call 'int', must be a function [149] */
13 	i(3);
14 }
15