xref: /netbsd-src/tests/usr.bin/xlint/lint1/c90.c (revision f8cf1a9151c7af1cb0bd8b09c13c66bca599c027)
1 /*	$NetBSD: c90.c,v 1.3 2023/08/26 10:43:53 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: C90 to C17 require formal parameter before '...' [84] */
12 void varargs_function(...);
13