]> code.delx.au - gnu-emacs/blob - test/etags/c-src/h.h
Use ‘T *restrict’ proto, not ‘T[restrict]’
[gnu-emacs] / test / etags / c-src / h.h
1 typedef enum
2 {
3 ELEM_I/**< Comment Element i
4 Second comment line. */
5 } Fails_t;
6 typedef void Lang_function ();
7 void Asm_labels ();
8 typedef struct tpcmd
9 {
10 #define ggg hhh
11 union
12 {
13 } arg;
14 }
15 tpcmd;
16 typedef struct foobar2_ {
17 fu int (*funcptr) (void *ptr);
18 long foo;
19 char bar;
20 } foobar2;
21 typedef enum
22 {
23 DEVICE_SWP,
24 DEVICE_LAST
25 } bsp_DevId;
26 typedef union {
27 struct constant_args {
28 unsigned int burst;
29 } constant;
30 } args;
31 typedef int *regset;
32 typedef int INT;
33 typedef union abc
34 {
35 int def;
36 } ghi1;
37 typedef union abc {
38 int def;
39 } ghi2;
40 typedef struct a {
41 } b;
42 #define c() d
43 typedef struct an_extern_linkage *an_extern_linkage_ptr;
44 typedef struct an_extern_linkage {
45 a_name_linkage_kind
46 kind;
47 /* The kind of external linkage ("C++" or "C"). */
48 a_byte_boolean
49 is_explicit;
50 /* TRUE if the external linkage requirement is
51 explicitly specified in the source; FALSE for the
52 default set for the translation unit as a whole. */
53 #ifdef CL_CHANGES
54 a_byte_boolean is_curly_brace_form;
55 #endif
56 } an_extern_linkage;
57 typedef struct pollfd pfdset[FD_SETSIZE];
58 typedef union rtunion_def
59 {
60 int rtint;
61 char *rtstr;
62 struct rtx_def *rtx;
63 } womboid ;
64 typedef union rtunion_def
65
66 {
67
68 int rtint;
69 char *rtstr;
70 struct rtx_def *rtxp;
71 struct rtx_def rtxnp;
72
73 }
74
75 womboid
76
77 ;
78
79
80 /* Leave the next two lines in that order. They exercise an old bug. */
81 enum {dog, cat} animals;
82 typedef void (_CALLBACK_ *signal_handler)(int);
83 typedef void (_CALLBACK_ *signal_handler1)(int);
84 /* comment */ #define ANSIC
85 #define ANSIC
86 #else
87 typedef void (proc) ();
88 typedef void OperatorFun(int opId);
89 typedef int f(int a,
90 int b);
91 struct my_struct {
92 };
93 typedef struct my_struct my_typedef;
94 typedef RETSIGTYPE (*signal_handler_t) (int);
95 #if 0
96 Date 04 May 87 235311 PDT (Mon)
97 Date: 04 May 87 23:53:11 PDT (Mon)
98 #endif
99 typedef unsigned char unchar;
100 typedef int X, Y, Z;
101 typedef mio mao;
102 extern void ab();
103 typedef struct a { } b;
104 typedef struct b
105 {
106 } c;
107 int (*oldhup)();
108 request (*oldhup) ();
109 int extvar;
110 #define tag1
111 #define aaaaaa \
112 bbbbbb
113 #define bbbbbb\
114 cccccc
115 #define cccccccccc
116 #define enter_critical_section do { int pri = spl7();
117 #define exit_critical_to_previous splarg (pri); } while (0)
118 #define UNDEFINED
119 struct re_pattern_buffer { unsigned char *buffer; };