xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_006.c (revision ccd9df534e375a4366c5b55f23782053c7a98d82)
1 /*	$NetBSD: msg_006.c,v 1.6 2023/03/28 14:44:34 rillig Exp $	*/
2 # 3 "msg_006.c"
3 
4 // Test for message: use 'double' instead of 'long float' [6]
5 
6 /* lint1-extra-flags: -X 351 */
7 
8 /* expect+2: warning: use 'double' instead of 'long float' [6] */
9 /* expect+1: error: illegal type combination [4] */
10 long float x;
11 double x;
12