[BACK]Return to token_storage_class.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / tests / usr.bin / indent

File: [cvs.NetBSD.org] / src / tests / usr.bin / indent / Attic / token_storage_class.c (download)

Revision 1.3, Sun Apr 24 09:04:12 2022 UTC (23 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.2: +4 -4 lines

tests/indent: change directive from '#' to '//'

Using a '//' instead of '#' turns the directives into well-formed C
code, resulting in fewer error markers in the editor.

/* $NetBSD: token_storage_class.c,v 1.3 2022/04/24 09:04:12 rillig Exp $ */

/*
 * Tests for storage classes such as 'extern', 'static', but not 'typedef'.
 */

//indent input
static int var;
extern int var;
int var;
//indent end

//indent run-equals-input -di0