xref: /netbsd-src/tests/usr.bin/indent/lsym_eof.c (revision b60cb68fed1b96ae3def133cdd518d067f242fb8)
1 /* $NetBSD: lsym_eof.c,v 1.4 2022/04/24 10:36:37 rillig Exp $ */
2 
3 /*
4  * Tests for the token lsym_eof, which represents the end of the input file.
5  *
6  * The end of a file typically occurs after a top-level declaration, or after
7  * a preprocessing directive. Everything else is a syntax error.
8  */
9 
10 //indent input
11 int decl;
12 //indent end
13 
14 //indent run
15 int		decl;
16 //indent end
17