source: src/tests/raii/.expect/memberCtors.txt @ 68f9c43

new-envwith_gc
Last change on this file since 68f9c43 was 80e8582, checked in by Rob Schluntz <rschlunt@…>, 7 years ago

Move constructor/destructor tests to raii subdirectory

  • Property mode set to 100644
File size: 4.2 KB
Line 
1Before declaration of b1
2constructing int
3constructing int
4constructing int
5constructing int
6constructing int
7constructing int
8begin construct B
9assign b.a2
10constructing int
11constructing int
12begin construct A
13construct a.x
14constructing int: 1001
15assign a.y
16assigning int: 0 0
17end construct A
18copy constructing int: 0
19copy constructing int: 0
20begin copy construct A
21copy construct this.x
22copy constructing int: 1001
23assign this.y
24copy constructing int: 0
25destructing int: 0
26destructing int: 0
27end copy construct A
28begin ?=? A
29copy constructing int: 1001
30destructing int: 1001
31destructing int: 1001
32copy constructing int: 0
33destructing int: 0
34destructing int: 0
35copy constructing int: 0
36destructing int: 0
37destructing int: 0
38end ?=? A
39copy constructing int: 0
40copy constructing int: 0
41begin copy construct A
42copy construct this.x
43copy constructing int: 1001
44assign this.y
45copy constructing int: 0
46destructing int: 0
47destructing int: 0
48end copy construct A
49destructing int: 0
50destructing int: 0
51destructing int: 1001
52destructing int: 0
53destructing int: 0
54destructing int: 1001
55construct b.a1
56constructing int
57constructing int
58begin construct A
59construct a.x
60constructing int: 1000
61assign a.y
62assigning int: 0 0
63end construct A
64end construct B
65destructing int: 0
66destructing int: 0
67destructing int: 1001
68Before declaration of b2
69copy constructing int: 0
70copy constructing int: 0
71begin copy construct A
72copy construct this.x
73copy constructing int: 1000
74assign this.y
75copy constructing int: 0
76destructing int: 0
77destructing int: 0
78end copy construct A
79copy constructing int: 0
80copy constructing int: 0
81begin copy construct A
82copy construct this.x
83copy constructing int: 1001
84assign this.y
85copy constructing int: 0
86destructing int: 0
87destructing int: 0
88end copy construct A
89copy constructing int: 0
90copy constructing int: 0
91begin copy construct A
92copy construct this.x
93copy constructing int: 0
94assign this.y
95copy constructing int: 0
96destructing int: 0
97destructing int: 0
98end copy construct A
99End of main
100constructing int
101constructing int
102begin construct A
103construct a.x
104constructing int: 999
105assign a.y
106assigning int: 0 0
107end construct A
108copy constructing int: 0
109copy constructing int: 0
110begin copy construct A
111copy construct this.x
112copy constructing int: 999
113assign this.y
114copy constructing int: 0
115destructing int: 0
116destructing int: 0
117end copy construct A
118begin ?=? A
119copy constructing int: 999
120destructing int: 999
121destructing int: 999
122copy constructing int: 0
123destructing int: 0
124destructing int: 0
125copy constructing int: 0
126destructing int: 0
127destructing int: 0
128end ?=? A
129copy constructing int: 0
130copy constructing int: 0
131begin copy construct A
132copy construct this.x
133copy constructing int: 999
134assign this.y
135copy constructing int: 0
136destructing int: 0
137destructing int: 0
138end copy construct A
139destructing int: 0
140destructing int: 0
141destructing int: 999
142destructing int: 0
143destructing int: 0
144destructing int: 999
145destructing int: 0
146destructing int: 0
147destructing int: 1000
148destructing int: 0
149destructing int: 0
150destructing int: 999
151destructing int: 0
152destructing int: 0
153destructing int: 0
154destructing int: 0
155destructing int: 0
156destructing int: 999
157constructing int
158constructing int
159begin construct A
160construct a.x
161constructing int: 999
162assign a.y
163assigning int: 0 0
164end construct A
165copy constructing int: 0
166copy constructing int: 0
167begin copy construct A
168copy construct this.x
169copy constructing int: 999
170assign this.y
171copy constructing int: 0
172destructing int: 0
173destructing int: 0
174end copy construct A
175begin ?=? A
176copy constructing int: 999
177destructing int: 999
178destructing int: 999
179copy constructing int: 0
180destructing int: 0
181destructing int: 0
182copy constructing int: 0
183destructing int: 0
184destructing int: 0
185end ?=? A
186copy constructing int: 0
187copy constructing int: 0
188begin copy construct A
189copy construct this.x
190copy constructing int: 999
191assign this.y
192copy constructing int: 0
193destructing int: 0
194destructing int: 0
195end copy construct A
196destructing int: 0
197destructing int: 0
198destructing int: 999
199destructing int: 0
200destructing int: 0
201destructing int: 999
202destructing int: 0
203destructing int: 0
204destructing int: 1000
205destructing int: 0
206destructing int: 0
207destructing int: 999
208destructing int: 0
209destructing int: 0
210destructing int: 0
211destructing int: 0
212destructing int: 0
213destructing int: 999
Note: See TracBrowser for help on using the repository browser.