Home | History | Annotate | Line # | Download | only in lint1
msg_004.c revision 1.5
      1 /*	$NetBSD: msg_004.c,v 1.5 2021/07/04 13:32:35 rillig Exp $	*/
      2 # 3 "msg_004.c"
      3 
      4 // Test for message: illegal type combination [4]
      5 
      6 // Lint does not detect "two or more data types", but GCC does.
      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