xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_004.c (revision 82d56013d7b633d116a93943de88e08335357a7c)
1 /*	$NetBSD: msg_004.c,v 1.4 2021/04/05 01:35:34 rillig Exp $	*/
2 # 3 "msg_004.c"
3 
4 // Test for message: illegal type combination [4]
5 
6 // XXX: this goes undetected
7 signed double signed_double;
8 
9 int ok_int;
10 double ok_double;
11 float _Complex ok_float_complex;
12 
13 int _Complex illegal_int_complex;	/* expect: 4 *//* expect: 308 */
14 
15 char enum {
16 	CHAR
17 };					/* expect: 4 */
18 
19 long struct {
20 	int member;
21 };					/* expect: 4 */
22