386BSD 0.0 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Tue, 17 Mar 1987 01:56:13 +0000 (17:56 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Tue, 17 Mar 1987 01:56:13 +0000 (17:56 -0800)
Work on file usr/src/usr.bin/ctags/test/ctags.test

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.0/src

usr/src/usr.bin/ctags/test/ctags.test [new file with mode: 0644]

diff --git a/usr/src/usr.bin/ctags/test/ctags.test b/usr/src/usr.bin/ctags/test/ctags.test
new file mode 100644 (file)
index 0000000..ae33604
--- /dev/null
@@ -0,0 +1,63 @@
+int    bar = (1 + 5);
+
+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"); }