blob: 2cf9053021b8e5dce8806bc76ec525703b51324d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* $NetBSD: msg_154.c,v 1.6 2023/03/28 14:44:35 rillig Exp $ */
# 3 "msg_154.c"
// Test for message: illegal combination of %s '%s' and %s '%s', arg #%d [154]
/* lint1-extra-flags: -X 351 */
void sink_int(int);
void
example(int *ptr)
{
/* expect+1: warning: illegal combination of integer 'int' and pointer 'pointer to int', arg #1 [154] */
sink_int(ptr);
}
|