This source file includes following definitions.
- main
- someFunc
- otherFunc
- main
- epd_probe
- func
- myFunction
- dixon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 namespace std {
25 template <T>class basic_string {
26 public:
27 void resize(int);
28 };
29 }
30
31 typedef std::basic_string<char> mstring;
32
33 using namespace std;
34 typedef basic_string<char> bstring;
35
36 int main(){
37 mstring a;
38 a.
39 ;
40
41 bstring b;
42
43 b.
44 ;
45
46 return 0;
47 }
48
49
50
51 class Bar
52 {
53 public:
54 void someFunc() {}
55 };
56
57 typedef Bar new_Bar;
58
59 template <class mytype>
60 class TBar
61 {
62 public:
63 void otherFunc() {}
64 };
65
66 typedef TBar<char> new_TBar;
67
68 int main()
69 {
70 new_Bar nb;
71 new_TBar ntb;
72
73 nb.
74 ;
75
76 ntb.
77 ;
78
79
80 return 0;
81 }
82
83
84
85
86 typedef struct epd_info {
87 int a;
88 } epd_info_t;
89
90 static int epd_probe(struct platform_device *pdev)
91 {
92 struct epd_info *db;
93 epd_info_t db1;
94
95 db.
96 ;
97 db1.
98 ;
99
100 return 1;
101 }
102
103
104
105
106 typedef enum
107 {
108 ENUM1,
109 ENUM2
110 } e_toto;
111
112 typedef struct
113 {
114 int field_a;
115 int field_b;
116 } t_toto;
117
118
119
120
121 int func(void)
122 {
123 t_toto t;
124 t.
125 ;
126 return 0;
127 }
128
129
130
131
132
133
134 namespace NS2 {
135 class MyClass {
136
137 public:
138 void myFunction() { }
139 };
140 }
141
142 typedef class NS2::MyClass* MyClassHandle;
143
144 int dixon ( void ) {
145 MyClassHandle mch = getMyClassHandle();
146 NS2::MyClass* mcptr = getMyClassHandle();
147
148 mcptr->
149 ;
150 mch->
151 ;
152 deleteMyClassHandle(mch);
153
154 return 0;
155 }