Home | History | Annotate | Line # | Download | only in lint1
msg_176.c revision 1.4
      1  1.4  rillig /*	$NetBSD: msg_176.c,v 1.4 2021/04/05 01:35:34 rillig Exp $	*/
      2  1.1  rillig # 3 "msg_176.c"
      3  1.1  rillig 
      4  1.1  rillig // Test for message: invalid initializer type %s [176]
      5  1.1  rillig 
      6  1.3  rillig /*
      7  1.4  rillig  * Before init.c 1.161 from 2021-03-28, lint wrongly complained about
      8  1.3  rillig  * initializers with redundant braces.
      9  1.3  rillig  *
     10  1.3  rillig  * C99 allows these, both GCC and Clang warn about them since they are unusual
     11  1.3  rillig  * and confusing.
     12  1.3  rillig  */
     13  1.3  rillig 
     14  1.3  rillig int valid = {{{3}}};
     15