xref: /netbsd-src/tests/usr.bin/xlint/lint1/c90.c (revision d16b7486a53dcb8072b60ec6fcb4373a2d0c27b7)
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