1 #include "foo.h"
2 
foo_func(int param1)3 void foo_func(int param1) {
4   int local_var = global_var;
5   for (int for_var = 100; for_var < 500; ++for_var) {
6     local_var = param1 + for_var;
7   }
8   bar_func();
9 }
10 
11 struct S1 {
12   int x;
13 };
14 
15 struct S2 {
16   int x;
17 };
18 
field_test(void)19 void field_test(void) {
20   struct S1 s1;
21   s1.x = 0;
22   ((struct S2 *)0)->x = 0;
23 
24   struct MyStruct ms;
25   ms.field_var = 10;
26 }
27 
28 int (^CP)(int) = ^(int x) { return x * global_var; };
29