Home | History | Annotate | Line # | Download | only in lint1
msg_098.c revision 1.2
      1 /*	$NetBSD: msg_098.c,v 1.2 2021/01/07 00:38:46 rillig Exp $	*/
      2 # 3 "msg_098.c"
      3 
      4 /* Test for message: suffixes F and L are illegal in traditional C [98] */
      5 
      6 /* lint1-flags: -gtw */
      7 
      8 void
      9 example()
     10 {
     11 	float f = 1234.5;
     12 	float f_F = 1234.5F;
     13 	float f_f = 1234.5F;
     14 
     15 	double d = 1234.5;
     16 	double d_U = 1234.5U;
     17 
     18 	long double ld = 1234.5;
     19 	long double ld_L = 1234.5L;
     20 }
     21