source: tests/raii/.expect/memberCtors.txt @ 90152a4

arm-ehcleanup-dtorsjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-expr
Last change on this file since 90152a4 was 90152a4, checked in by Rob Schluntz <rschlunt@…>, 3 years ago

Merge branch 'master' into cleanup-dtors

  • 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
100begin destruct B
101constructing int
102constructing int
103begin construct A
104construct a.x
105constructing int: 999
106assign a.y
107assigning int: 0 0
108end construct A
109copy constructing int: 0
110copy constructing int: 0
111begin copy construct A
112copy construct this.x
113copy constructing int: 999
114assign this.y
115copy constructing int: 0
116destructing int: 0
117destructing int: 0
118end copy construct A
119begin ?=? A
120copy constructing int: 999
121destructing int: 999
122destructing int: 999
123copy constructing int: 0
124destructing int: 0
125destructing int: 0
126copy constructing int: 0
127destructing int: 0
128destructing int: 0
129end ?=? A
130copy constructing int: 0
131copy constructing int: 0
132begin copy construct A
133copy construct this.x
134copy constructing int: 999
135assign this.y
136copy constructing int: 0
137destructing int: 0
138destructing int: 0
139end copy construct A
140destructing int: 0
141destructing int: 0
142destructing int: 999
143destructing int: 0
144destructing int: 0
145destructing int: 999
146destructing int: 0
147destructing int: 0
148destructing int: 1000
149end destruct B
150destructing int: 0
151destructing int: 0
152destructing int: 999
153destructing int: 0
154destructing int: 0
155destructing int: 0
156destructing int: 0
157destructing int: 0
158destructing int: 999
159begin destruct B
160constructing int
161constructing int
162begin construct A
163construct a.x
164constructing int: 999
165assign a.y
166assigning int: 0 0
167end construct A
168copy constructing int: 0
169copy constructing int: 0
170begin copy construct A
171copy construct this.x
172copy constructing int: 999
173assign this.y
174copy constructing int: 0
175destructing int: 0
176destructing int: 0
177end copy construct A
178begin ?=? A
179copy constructing int: 999
180destructing int: 999
181destructing int: 999
182copy constructing int: 0
183destructing int: 0
184destructing int: 0
185copy constructing int: 0
186destructing int: 0
187destructing int: 0
188end ?=? A
189copy constructing int: 0
190copy constructing int: 0
191begin copy construct A
192copy construct this.x
193copy constructing int: 999
194assign this.y
195copy constructing int: 0
196destructing int: 0
197destructing int: 0
198end copy construct A
199destructing int: 0
200destructing int: 0
201destructing int: 999
202destructing int: 0
203destructing int: 0
204destructing int: 999
205destructing int: 0
206destructing int: 0
207destructing int: 1000
208end destruct B
209destructing int: 0
210destructing int: 0
211destructing int: 999
212destructing int: 0
213destructing int: 0
214destructing int: 0
215destructing int: 0
216destructing int: 0
217destructing int: 999
Note: See TracBrowser for help on using the repository browser.