blob: 8c556c9b388d5733b4b8056fe8ace942b549656e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
typedef const struct foo {
char inner;
} *foo;
typedef struct bar {
char inner;
} *bar;
typedef struct baz *baz;
typedef union cat {
int standard_issue;
} *cat;
typedef enum mad { scientist } *mad;
void takes_foo_ptr(foo);
void takes_foo_struct(struct foo);
void takes_bar_ptr(bar);
void takes_bar_struct(struct bar);
void takes_baz_ptr(baz);
void takes_baz_struct(struct baz);
void takes_cat_ptr(cat);
void takes_cat_union(union cat);
void takes_mad_ptr(mad);
void takes_mad_enum(enum mad);
|