[BACK]Return to ctags.test CVS log [TXT][DIR] Up to [local] / src / usr.bin / ctags / test

File: [local] / src / usr.bin / ctags / test / ctags.test (download)

Revision 1.2, Wed Jun 26 05:32:32 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0, HEAD
Changes since 1.1: +1 -0 lines

rcsid

/*	$OpenBSD: ctags.test,v 1.2 1996/06/26 05:32:32 deraadt Exp $	*/
/*	$NetBSD: ctags.test,v 1.2 1995/03/26 20:14:14 glass Exp $	*/

int	bar = (1 + 5);

FOO("here is a #define test: ) {");
char sysent[20];
int	nsysent = sizeof (sysent) / sizeof (sysent[0]);
/*
 * now is the time for a comment.
 * four lines in length...
 */struct struct_xtra{int list;};r4(x,y){};typedef struct{int bar;}struct_xxe;
#define FOO	BAR
struct struct_three {
	int	list;
};
#define SINGLE
int	BAD();
enum color {red, green, gold, brown};
char qq[] = "  quote(one,two) {int bar;}  ";
typedef struct {
	int	bar;
	struct struct_two {
		int foo;
		union union_3 {
			struct struct_three entry;
			char size[25];
		};
		struct last {
			struct struct_three xentry;
			char list[34];
		};
	};
} struct_one;
#define TWOLINE	((MAXLIST + FUTURE + 15) \
	/ (time_to_live ? 3 : 4))
#if (defined(BAR))
int	bar;
#endif
#define MULTIPLE {\
	multiple(one,two); \
	lineno++; \
	callroute(one,two); \
}
#if defined(BAR)
int	bar;
#endif
union union_one {
	struct struct_three	s3;
	char	foo[25];
};
#define XYZ(A,B)	(A + B / 2) * (3 - 26 + l_lineno)
routine1(one,two)	/* comments here are fun... */
	struct {
		int entry;
		char bar[34];
	} *one;
	char two[10];
{
typedef unsigned char	u_char;
	register struct buf *bp;
	five(one,two);
}
 routine2 (one,two) { puts("hello\n"); }
 routine3
(one,
two) { puts("world\n"); }
routine4(int one, char (*two)(void)) /* test ANSI arguments */
{
}