Home | History | Annotate | Line # | Download | only in lint1
msg_004.c revision 1.3
      1 /*	$NetBSD: msg_004.c,v 1.3 2021/01/31 11:12:07 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, 308 */
     14 
     15 char enum {
     16 	CHAR
     17 };					/* expect: 4 */
     18 
     19 long struct {
     20 	int member;
     21 };					/* expect: 4 */
     22