xref: /netbsd-src/tests/usr.bin/xlint/lint1/c90.c (revision 2dd295436a0082eb4f8d294f4aa73c223413d0f2)
1 /*	$NetBSD: c90.c,v 1.2 2023/03/28 14:44:34 rillig Exp $	*/
2 # 3 "c90.c"
3 
4 /*
5  * Tests for the option -s, which allows features from C90, but neither any
6  * later C standards nor GNU extensions.
7  */
8 
9 /* lint1-flags: -sw -X 351 */
10 
11 /* expect+1: error: ANSI C requires formal parameter before '...' [84] */
12 void varargs_function(...);
13