This source file includes following definitions.
- setFeet
- getFeet
- doNothing
- setAntlers
- getAntlers
- i_dont_have_symrefs
- doSomething
- setLatin
- getLatin
- doLatinStuff
- createMoose
- someFunction
- private_a
- public_a
- some_regular_function
- otherFunction
- testAccess
- testAccess
- testAccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 #include "testsubclass.hh"
24
25 void animal::moose::setFeet(int numfeet)
26 {
27 if (numfeet > 4) {
28 std::cerr << "Why would a moose have more than 4 feet?" << std::endl;
29 return;
30 }
31
32 fFeet = numfeet;
33 }
34
35 int animal::moose::getFeet()
36 {
37 return fFeet;
38 }
39
40 void animal::moose::doNothing()
41 {
42 animal::moose foo();
43
44 fFeet = N
45 ;
46 }
47
48
49 void deer::moose::setAntlers(bool have_antlers)
50 {
51 fAntlers = have_antlers;
52 }
53
54 bool deer::moose::getAntlers()
55
56 {
57 return fAntlers;
58 }
59
60 bool i_dont_have_symrefs()
61
62 {
63 }
64
65 void deer::moose::doSomething()
66 {
67
68 getAntlers();
69 setAntlers(true);
70
71 getFeet();
72 setFeet(true);
73
74 doNothing();
75
76 fSomeField = true;
77
78 fIsValid = true;
79 }
80
81 void deer::alces::setLatin(bool l) {
82 fLatin = l;
83 }
84
85 bool deer::alces::getLatin() {
86 return fLatin;
87 }
88
89 void deer::alces::doLatinStuff(moose moosein) {
90
91 getFeet();
92 setFeet(true);
93
94 getLatin();
95 setLatin(true);
96
97 doNothing();
98
99 deer::moose foo();
100
101
102 }
103
104 moose deer::alces::createMoose()
105 {
106 moose MooseVariableName;
107 bool tmp;
108 int itmp;
109 bool fool;
110 int fast;
111
112 MooseVariableName = createMoose();
113
114 doLatinStuff(MooseVariableName);
115
116 tmp = this.f
117
118 ;
119
120 itmp = this.f
121
122 ;
123
124 tmp = f
125
126 ;
127
128 itmp = f
129
130 ;
131
132 MooseVariableName = m
133
134
135 return MooseVariableName;
136 }
137
138
139
140
141
142
143 int someFunction(int mPickle)
144 {
145 moose mMoose = deer::alces::createMoose();
146
147 if (mPickle == 1) {
148
149 int mOption1 = 2;
150
151 m
152
153 ;
154
155 } else {
156
157 int mOption2 = 2;
158
159 m
160
161 ;
162 }
163
164 }
165
166
167
168 namespace pub_priv {
169
170 class A{
171 private:
172 void private_a(){}
173 public:
174 void public_a();
175 };
176
177 void A::public_a() {
178 A other_a;
179
180 other_a.p
181
182 ;
183 }
184
185 int some_regular_function(){
186 A a;
187 a.p
188
189 ;
190 return 0;
191 }
192
193 }
194
195
196
197
198
199 int otherFunction()
200 {
201 sneaky::antelope Antelope(1);
202 sneaky::jackalope Jackalope(1);
203 sneaky::bugalope Bugalope(1);
204
205 Antelope.
206
207 ;
208
209 Jackalope.
210
211 ;
212
213 Jackalope
214 ;
215 Jackalope;
216 Jackalope;
217 Jackalope;
218
219 Bugalope.
220
221 ;
222 Bugalope
223 ;
224 }
225
226
227
228
229 bool sneaky::antelope::testAccess()
230 {
231 this.
232
233 ;
234 }
235
236 bool sneaky::jackalope::testAccess()
237 {
238 this.
239
240 ;
241 }
242
243 bool sneaky::bugalope::testAccess()
244 {
245 this.
246
247 ;
248 }