blob: 2d8c7193b959c6b5e8589386413912fe73dadd4a (
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
31
32
|
struct Int {
int i;
};
typedef Int Foo;
typedef Int *FooP;
typedef Foo Bar;
typedef Foo *BarP;
int main() {
Int i = {42};
Int *i_p = &i;
Int **i_pp = &i_p;
Int ***i_ppp = &i_pp;
Foo f = i;
Foo *f_p = &f;
Foo **f_pp = &f_p;
Foo ***f_ppp = &f_pp;
FooP fp = f_p;
FooP *fp_p = &fp;
FooP **fp_pp = &fp_p;
Bar b = i;
Bar *b_p = &b;
Bar **b_pp = &b_p;
BarP bp = b_p;
BarP *bp_p = &bp;
BarP **bp_pp = &bp_p;
return 0; // Set break point at this line.
}
|