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

// Test for message: use 'double' instead of 'long float' [6]

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

/* expect+2: warning: use 'double' instead of 'long float' [6] */
/* expect+1: error: illegal type combination [4] */
long float x;
double x;