Home | History | Annotate | Line # | Download | only in lint1
c90.c revision 1.1
      1  1.1  rillig /*	$NetBSD: c90.c,v 1.1 2021/07/25 22:03:42 rillig Exp $	*/
      2  1.1  rillig # 3 "c90.c"
      3  1.1  rillig 
      4  1.1  rillig /*
      5  1.1  rillig  * Tests for the option -s, which allows features from C90, but neither any
      6  1.1  rillig  * later C standards nor GNU extensions.
      7  1.1  rillig  */
      8  1.1  rillig 
      9  1.1  rillig /* lint1-flags: -sw */
     10  1.1  rillig 
     11  1.1  rillig /* expect+1: error: ANSI C requires formal parameter before '...' [84] */
     12  1.1  rillig void varargs_function(...);
     13